Skip to content

Commit

Permalink
GitHub CI: No cache, update V of checkout and setup-python
Browse files Browse the repository at this point in the history
  • Loading branch information
jarofgreen committed Dec 19, 2024
1 parent ec0e00b commit 782b4ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,12 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.12
architecture: x64
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements_dev.txt') }}-${{ matrix.python-version }}
restore-keys: |
${{ runner.os }}-pip-
- run: pip install --upgrade -r requirements_dev.txt
- run: black --check *.py */
- run: isort --check-only *.py */
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13']
jsonref-version: ["==0.3", ">1"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
Expand Down

0 comments on commit 782b4ae

Please sign in to comment.