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 12, 2023
1 parent 54e07a6 commit a0c7e09
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 22 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
26 changes: 16 additions & 10 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,49 @@ 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


# required only if you want to verify Haskell code
- name: Install dependencies (Haskell)
uses: actions/setup-haskell@v1
uses: haskell/actions/setup@v2
with:
ghc-version: '8.8.4'
cabal-version: '3.0.0.0'

# 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
distribution: temurin
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
with:
ruby-version: '3.0'

# required only if you want to verify Nim code
- name: Install dependencies (Nim)
run: sudo apt install nim
run: sudo apt-get update && sudo apt-get --assume-yes install nim

- name: Set up Rust (1.42.0)
uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$ pip3 install online-judge-verify-helper
```

Python のバージョンは 3.6 以上が必要です。
Python のバージョンは 3.8 以上が必要です。

#### verify 自動実行

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Please read this: <https://online-judge-tools.github.io/verification-helper/inst
$ pip3 install online-judge-verify-helper
```

Python 3.6 or above is required.
Python 3.8 or above is required.

#### Automating the verification

Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ classifiers =
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.8
Topic :: Internet :: WWW/HTTP
Topic :: Software Development
Topic :: Utilities
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
url='https://github.com/kmyk/online-judge-verify-helper',
license='MIT License',
description='',
python_requires='>=3.6',
python_requires='>=3.8',
install_requires=[
'colorlog',
'pyyaml',
Expand Down

0 comments on commit a0c7e09

Please sign in to comment.