Skip to content

Commit

Permalink
ci: update workflow versions
Browse files Browse the repository at this point in the history
  • Loading branch information
int-y1 authored and quantum5 committed Dec 22, 2024
1 parent d7a2735 commit b199763
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Black and Flake8
Expand All @@ -26,9 +26,9 @@ jobs:
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies and mypy
Expand All @@ -42,9 +42,9 @@ jobs:
test-sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install build dependencies
Expand All @@ -63,7 +63,7 @@ jobs:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download docker image
run: docker pull dmoj/runtimes-tier3
- name: Install python
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
EOF
chmod a+x run run-su
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/docker-cache
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}
Expand All @@ -119,7 +119,7 @@ jobs:
matrix:
python-version: [ '3.11' ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download docker image
run: docker pull dmoj/runtimes-tier3
- name: Create docker scripts
Expand Down

0 comments on commit b199763

Please sign in to comment.