Skip to content

Commit

Permalink
Bump all outdated GitHub Actions
Browse files Browse the repository at this point in the history
actions/cache to v4, actions/setup-python to v5,
actions.{up,down}load-artifact to v4. This is mostly to silence node16
upgrade warnings.
  • Loading branch information
nicholasjng committed Feb 7, 2024
1 parent a9956f0 commit 5e8c07b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
fetch-depth: 0
- name: Set up Python and dependencies
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: pip
Expand All @@ -33,7 +33,7 @@ jobs:
pip install -r requirements-dev.txt
pip install -e . --no-deps
- name: Cache pre-commit tools
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.MYPY_CACHE_DIR }}
Expand All @@ -52,7 +52,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up oldest supported Python on ${{ matrix.os }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Run tests on oldest supported Python
Expand All @@ -65,7 +65,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python and dependencies
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: pip
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ jobs:
run: |
python -m build
- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
if-no-files-found: error
- name: Publish stable documentation for nnbench
uses: ./.github/actions/mike-docs
with:
Expand All @@ -49,7 +50,7 @@ jobs:
id-token: write
steps:
- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down

0 comments on commit 5e8c07b

Please sign in to comment.