Skip to content

Commit 8523155

Browse files
Merge pull request #278 from equinor/update-and-pin-github-actions
Pin and update all GitHub Actions
2 parents c252a20 + 800a3b5 commit 8523155

4 files changed

Lines changed: 20 additions & 20 deletions

File tree

.github/workflows/build-plugin.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ jobs:
1313
build-gui:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v6
16+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1717
with:
1818
fetch-depth: 0
1919

20-
- uses: jdx/mise-action@v3
20+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
2121

2222
- name: Cache Python dependencies
23-
uses: actions/cache@v4
23+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
2424
with:
2525
path: .venv
2626
key: ${{ runner.os }}-python-uv-${{ hashFiles('pyproject.toml', 'uv.lock') }}
2727

2828
- name: Cache Node.js dependencies
29-
uses: actions/cache@v4
29+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3030
with:
3131
path: gui/node_modules
3232
key: ${{ runner.os }}-yarn-${{ hashFiles('gui/yarn.lock', 'gui/package.json') }}
@@ -37,7 +37,7 @@ jobs:
3737
mise run build-gui ${{ inputs.stable && '--stable' || '' }}
3838
3939
- name: Store GUI artifact
40-
uses: actions/upload-artifact@v5
40+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4141
with:
4242
name: build-artifacts-gui
4343
path: |
@@ -46,7 +46,7 @@ jobs:
4646
compression-level: '0' # The plugin is already a zip file, so we don't need to compress it again
4747

4848
- name: Store metadata about the build
49-
uses: actions/upload-artifact@v5
49+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5050
with:
5151
name: build-artifacts-metadata
5252
path: |

.github/workflows/github-pages.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v6
31+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3232
# We include the creation and edit time in the documentation, so we need the full history
3333

34-
- uses: jdx/mise-action@v3
34+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
3535

3636
- name: Setup Pages
37-
uses: actions/configure-pages@v5
37+
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
3838

3939
- name: Build documentation
4040
run: mise tasks run build:documentation
4141

4242
- name: Upload artifact
43-
uses: actions/upload-pages-artifact@v4
43+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
4444

4545
# Deployment job
4646
deploy:
@@ -52,4 +52,4 @@ jobs:
5252
steps:
5353
- name: Deploy to GitHub Pages
5454
id: deployment
55-
uses: actions/deploy-pages@v4
55+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0

.github/workflows/quality-check.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
pre-commit-hooks:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v6
16+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1717
with:
1818
fetch-depth: 0
19-
- uses: jdx/mise-action@v3
20-
- uses: actions/cache@v4
19+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
20+
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
2121
with:
2222
path: ~/.cache/pre-commit
2323
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
@@ -27,13 +27,13 @@ jobs:
2727
unit-tests-gui:
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v6
30+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3131
with:
3232
fetch-depth: 0
33-
- uses: jdx/mise-action@v3
33+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
3434

3535
- name: Cache Node.js dependencies
36-
uses: actions/cache@v4
36+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3737
with:
3838
path: gui/node_modules
3939
key: ${{ runner.os }}-yarn-${{ hashFiles('gui/yarn.lock', 'gui/package.json') }}

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
permissions:
2323
contents: write
2424
steps:
25-
- uses: actions/checkout@v6
25+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2626
with:
2727
fetch-depth: 0
2828

29-
- uses: jdx/mise-action@v3
29+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
3030
with:
3131
install: false
3232

33-
- uses: actions/download-artifact@v6
33+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
3434
with:
3535
pattern: build-artifacts-*
3636
merge-multiple: true

0 commit comments

Comments
 (0)