Skip to content

Commit

Permalink
Update workflows, use newer version of Python
Browse files Browse the repository at this point in the history
  • Loading branch information
koba-e964 committed Aug 11, 2023
1 parent 54e07a6 commit 63e3482
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4

- name: Install dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.6
python-version: '3.8'

- name: Install dependencies
run: pip install .[dev]
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4

- name: Install dependencies
run: pip3 install -U git+https://github.com/online-judge-tools/verification-helper.git@master
Expand All @@ -22,24 +22,24 @@ jobs:

# required only if you want to verify Java code
- name: Install dependencies (Java)
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11

# required only if you want to verify C# script files
- uses: actions/setup-dotnet@v1
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.101'
- name: Install dependencies (C#)
run: dotnet tool install -g dotnet-script
run: dotnet tool install --global dotnet-script --version 1.4.0

# required only if you want to verify Go code
- name: Install dependencies (Go)
uses: actions/setup-go@v2
uses: actions/setup-go@v4

# required only if you want to verify Ruby code
- name: Install dependencies (Ruby)
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1

# required only if you want to verify Nim code
- name: Install dependencies (Nim)
Expand Down

0 comments on commit 63e3482

Please sign in to comment.