Skip to content

Commit e41799b

Browse files
committed
ci: upgrade actions dependencies to Node 24 compatible
1 parent b428eea commit e41799b

3 files changed

Lines changed: 16 additions & 14 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Github CI
22

33
on:
44
push:
5-
branches: ['main']
5+
branches: ["main"]
66
pull_request:
77

88
jobs:
@@ -11,13 +11,13 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ['3.10']
14+
python-version: ["3.10"]
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818

1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v5
20+
uses: actions/setup-python@v6
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323

@@ -31,14 +31,14 @@ jobs:
3131
poetry install
3232
3333
- name: Run Lint
34-
uses: astral-sh/ruff-action@v3
34+
uses: astral-sh/ruff-action@v4.0.0
3535

3636
- name: Run tests with coverage
3737
run: |
3838
poetry run pytest --cov=src/ --cov-report=xml --no-cov-on-fail
3939
4040
- name: Send coverage to CodeCov
41-
uses: codecov/codecov-action@v3
41+
uses: codecov/codecov-action@v6
4242
with:
4343
token: ${{ secrets.CODECOV_TOKEN }}
4444
fail_ci_if_error: false

.github/workflows/commitlint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: Commitlint
22

33
on:
44
push:
5-
branches: ['main']
5+
branches: ["main"]
66
pull_request:
77

88
jobs:
99
commitlint:
1010
runs-on: ubuntu-latest
1111
name: Commitlint
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414

1515
- name: Run commitlint
1616
# uses: opensource-nepal/commitlint@v1

.github/workflows/release-please.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
on:
22
push:
3-
branches: ['main']
3+
branches: ["main"]
44

55
name: release-please
66

77
jobs:
88
release-please:
99
runs-on: ubuntu-latest
1010
permissions:
11+
# This job has the highest privileges, so always pin actions to a specific commit hash.
12+
# Ensure the referenced commit hash is verified and free from known vulnerabilities.
1113
id-token: write # for PYPI release
1214
contents: write
1315
pull-requests: write
1416

1517
steps:
1618
- name: Release
1719
id: release
18-
uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
20+
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
1921

20-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2123
if: ${{ steps.release.outputs.release_created }}
2224

2325
- name: tag major and minor versions
@@ -32,10 +34,10 @@ jobs:
3234
git push origin v${{ steps.release.outputs.major }} -f
3335
3436
- name: Set up Python
35-
uses: actions/setup-python@v5
37+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3638
if: ${{ steps.release.outputs.release_created }}
3739
with:
38-
python-version: '3.x'
40+
python-version: "3.10"
3941

4042
- name: Install dependencies
4143
if: ${{ steps.release.outputs.release_created }}
@@ -49,4 +51,4 @@ jobs:
4951

5052
- name: Publish package
5153
if: ${{ steps.release.outputs.release_created }}
52-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
54+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0

0 commit comments

Comments
 (0)