Skip to content

Commit befe666

Browse files
committed
Update GitHub Actions
1 parent 8b758f7 commit befe666

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 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@v3
41+
uses: actions/setup-python@v5
4242
with:
4343
python-version: ${{ matrix.python }}
4444
architecture: 'x64'

.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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Repository
1111

12-
- Update GitHub Actions `github/codeql-action` from v2 to v3
12+
- Update `action/setup-python` GitHub Action to v5
13+
- Update `action/checkout` GitHub Action to v4
14+
- Update `github/codeql-action/analyze` GitHub Action to v3
1315
- Update `adrienverge/yamllint.git` hook to v1.35.1
1416
- Update `astral-sh/ruff-pre-commit` hook to v0.3.5
1517
- Update `Lucas-C/pre-commit-hooks` hook to v1.5.5

0 commit comments

Comments
 (0)