Skip to content

Commit 947a0f8

Browse files
Update to pinned github actions versions
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
1 parent e01de04 commit 947a0f8

3 files changed

Lines changed: 17 additions & 16 deletions

File tree

.github/workflows/Release.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,19 @@ jobs:
1212
name: Create Release
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
1616
# - name: Exit if tag not is not pointing to a commit in master branch
1717
# if: endsWith(github.ref, 'master') == false
1818
# run: exit -1
1919
- name: Get release tag
2020
id: tag
21-
uses: dawidd6/action-get-tag@v1
21+
# TODO: replace this as this is archived now?
22+
uses: dawidd6/action-get-tag@727a6f0a561be04e09013531e73a3983a65e3479
2223
with:
2324
strip_v: false
2425
- name: Create Release
2526
id: create_release
26-
uses: softprops/action-gh-release@v1
27+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda
2728
with:
2829
tag_name: ${{steps.tag.outputs.tag}}
2930
name: ${{steps.tag.outputs.tag}}
@@ -41,13 +42,13 @@ jobs:
4142
os: [ubuntu-latest, macos-latest, windows-latest, macos-14]
4243
runs-on: ${{ matrix.os }}
4344
steps:
44-
- uses: actions/checkout@v4
45-
- uses: actions/setup-python@v4
45+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
46+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
4647
with:
47-
python-version: 3.12.0
48-
- uses: actions/setup-node@master
48+
python-version: 3.14.0
49+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
4950
with:
50-
node-version: 20
51+
node-version: 22
5152
- name: Install dependencies
5253
run: npm install
5354
- name: Create release assets directory
@@ -59,7 +60,7 @@ jobs:
5960
- name: Verify Generated archives in dist/
6061
run: ls ./dist
6162
- name: Upload release assets
62-
uses: softprops/action-gh-release@v1
63+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda
6364
with:
6465
tag_name: ${{ github.ref_name }}
6566
files: dist/*

.github/workflows/Test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [16.x, 18.x, 20.x]
14+
node-version: [22.x, 24.x, 26.x]
1515
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
1919
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@master
20+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323
- run: npm install

.github/workflows/docs-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ permissions:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-24.04
1111

1212
strategy:
1313
max-parallel: 4
1414
matrix:
15-
python-version: [3.12.0]
15+
python-version: [3.14.0]
1616

1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
2020

2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

0 commit comments

Comments
 (0)