Skip to content

Commit 6163af6

Browse files
committed
Update GitHub Actions
1 parent a2336fc commit 6163af6

7 files changed

Lines changed: 21 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030
|| (github.event_name == 'pull_request' && github.event.pull_request.merged != true))
3131
3232
steps:
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434

3535
- name: Get history and tags for SCM versioning to work
3636
run: |
3737
git fetch --prune --unshallow
3838
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3939
4040
- name: Setup Python ${{ matrix.python }}
41-
uses: actions/setup-python@v4
41+
uses: actions/setup-python@v5
4242
with:
4343
python-version: ${{ matrix.python }}
4444
architecture: 'x64'
@@ -86,7 +86,7 @@ jobs:
8686
|| (github.event_name == 'pull_request' && github.event.pull_request.merged != true))
8787
8888
steps:
89-
- uses: actions/checkout@v3
89+
- uses: actions/checkout@v4
9090

9191
- name: Get history and tags for SCM versioning to work
9292
run: |
@@ -98,7 +98,7 @@ jobs:
9898
uses: ilammy/msvc-dev-cmd@v1.13.0
9999

100100
- name: Setup Python ${{ matrix.python }}
101-
uses: actions/setup-python@v4
101+
uses: actions/setup-python@v5
102102
with:
103103
python-version: ${{ matrix.python }}
104104
architecture: 'x64'
@@ -170,7 +170,7 @@ jobs:
170170
runs-on: ubuntu-latest
171171
needs: unit-tests
172172
steps:
173-
- uses: actions/checkout@v3
173+
- uses: actions/checkout@v4
174174
with:
175175
fetch-depth: 0
176176

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
45+
uses: github/codeql-action/init@v3
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -51,7 +51,7 @@ jobs:
5151
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5252

5353
- name: Autobuild
54-
uses: github/codeql-action/autobuild@v2
54+
uses: github/codeql-action/autobuild@v3
5555

5656
- name: Perform CodeQL Analysis
57-
uses: github/codeql-action/analyze@v2
57+
uses: github/codeql-action/analyze@v3

.github/workflows/draft_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
name: "Draft a new release"
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Setup Python
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: '3.11'
2323
cache: 'pip'

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
&& (startsWith(github.event.pull_request.head.ref, 'release/')
1919
|| startsWith(github.event.pull_request.head.ref, 'hotfix/'))
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Installing parse-changelog
2323
env:
2424
target: x86_64-unknown-linux-musl

.github/workflows/publish_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
|| startsWith(github.event.pull_request.head.ref, 'hotfix/')))
2424
2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727

2828
- name: Get history and tags for SCM versioning to work
2929
run: |
@@ -104,7 +104,7 @@ jobs:
104104
dist/*
105105
106106
- name: Setup Python for Pypi upload
107-
uses: actions/setup-python@v4
107+
uses: actions/setup-python@v5
108108

109109
- name: Publish standard package
110110
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
(github.event.pull_request.title == '[pre-commit.ci] pre-commit autoupdate') &&
1414
(github.event.action == 'opened')
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
ref: ${{ github.event.pull_request.head.ref }}
1919
fetch-depth: 0
2020
token: ${{ secrets.PRE_COMMIT_CI_CHANGELOG }}
2121

2222
- name: Setup Python
23-
uses: actions/setup-python@v3
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: '3.11'
2626
cache: 'pip'
@@ -48,7 +48,7 @@ jobs:
4848
name: CHANGELOG enforcer
4949
if: '!cancelled()'
5050
steps:
51-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@v4
5252
with:
5353
ref: ${{ github.event.pull_request.head.ref }}
5454
fetch-depth: 0

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Repository
1111

12+
- Update `action/setup-python` GitHub Action to v5
1213
- Update GitHub Action `ilammy/msvc-dev-cmd` from v1.12.1 to v1.13.0
1314
- Update GitHub Action `codecov/codecov-action` from v3 to v4
1415
- Update `adrienverge/yamllint` hook to v1.35.1
@@ -195,7 +196,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
195196

196197
### Repository
197198

198-
- Update `action/setup-python` GitHub Action to v4
199+
- Update `action/setup-python` GitHub Action to v5
200+
- Update `action/checkout` GitHub Action to v4
201+
- Update `github/codeql-action/analyze` GitHub Action to v3
199202
- Update `ilammy/msvc-dev-cmd` GitHub Action to v1.12.1
200203
- Update `thomaseizinger/create-pull-request` GitHub Action to v1.3.0
201204
- Update `Lucas-C/pre-commit-hooks` hook to v1.4.2

0 commit comments

Comments
 (0)