Skip to content

Commit

Permalink
gh-actions: fix warnings by upgrading actions, suppressing pip nag
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarnett committed Sep 22, 2024
1 parent 2a3a003 commit bac1689
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
permissions:
contents: read

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1

jobs:
test:
name: test with ${{ matrix.py }} on ${{ matrix.os }}
Expand All @@ -32,12 +35,12 @@ jobs:
env:
SKIP_ENVS: ${{ (matrix.py != '3.12' || matrix.os == 'windows-latest') && '--skip-env=cli' || '' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: ${{ matrix.py == '3.12' && matrix.os != 'windows-latest' && 'true' || 'false' }}
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
cache: 'pip'
Expand Down

0 comments on commit bac1689

Please sign in to comment.