Skip to content

Commit dc549c5

Browse files
ci: bump actions/checkout to v7 and actions/cache to v6
Update GitHub Actions pins across the workflows: actions/checkout v6 to v7 (publish, test, codeql) and actions/cache v5 to v6 (test). Supersedes #121, #123.
1 parent e9c881c commit dc549c5

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.
3737

3838
- name: Checkout
39-
uses: actions/checkout@v6
39+
uses: actions/checkout@v7
4040

4141
- name: Initialize CodeQL
4242
uses: github/codeql-action/init@v4

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v6
15+
- uses: actions/checkout@v7
1616
with:
1717
fetch-depth: 0
1818
fetch-tags: true
@@ -61,7 +61,7 @@ jobs:
6161

6262
steps:
6363
- name: Checkout code
64-
uses: actions/checkout@v6
64+
uses: actions/checkout@v7
6565
with:
6666
fetch-depth: 0
6767
fetch-tags: true

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v6
29+
uses: actions/checkout@v7
3030

3131
- name: Set up Python ${{ matrix.python-version }}
3232
uses: actions/setup-python@v6
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Load cached venv
4545
id: cached-poetry-dependencies
46-
uses: actions/cache@v5
46+
uses: actions/cache@v6
4747
with:
4848
path: ./.venv
4949
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}

0 commit comments

Comments
 (0)