Skip to content

Commit 271fe2e

Browse files
authored
chore(ci): pin github actions as hashed versions (#1334)
1 parent 740c3e2 commit 271fe2e

File tree

10 files changed

+44
-44
lines changed

10 files changed

+44
-44
lines changed

.github/actions/build-evm-client/besu/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ runs:
2121
using: "composite"
2222
steps:
2323
- name: Checkout Besu
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2525
with:
2626
repository: ${{ inputs.repo }}
2727
ref: ${{ inputs.ref }}
2828
path: besu
2929
- name: Setup Java
30-
uses: actions/setup-java@v4
30+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
3131
with:
3232
java-version: ${{ inputs.java }}
3333
distribution: ${{ inputs.java-distro }}

.github/actions/build-evm-client/ethjs/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ runs:
1313
using: "composite"
1414
steps:
1515
- name: Checkout EthereumJS monorepo
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1717
with:
1818
repository: ${{ inputs.repo }}
1919
ref: ${{ inputs.ref }}
2020
path: ethereumjs
2121

2222
- name: Setup node
23-
uses: actions/setup-node@v4
23+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e
2424
with:
2525
node-version: 18
2626

.github/actions/build-evm-client/evmone/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ runs:
1717
using: "composite"
1818
steps:
1919
- name: Checkout evmone
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2121
with:
2222
repository: ${{ inputs.repo }}
2323
ref: ${{ inputs.ref }}
2424
path: evmone
2525
submodules: true
2626
- name: Setup cmake
27-
uses: jwlawson/actions-setup-cmake@v2
27+
uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be
2828
- name: "Install GMP"
2929
shell: bash
3030
run: sudo apt-get -q update && sudo apt-get -qy install libgmp-dev

.github/actions/build-evm-client/geth/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ runs:
1717
using: "composite"
1818
steps:
1919
- name: Checkout go-ethereum
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2121
with:
2222
repository: ${{ inputs.repo }}
2323
ref: ${{ inputs.ref }}
2424
path: go-ethereum
2525
- name: Setup golang
26-
uses: actions/setup-go@v5
26+
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b
2727
with:
2828
go-version: ${{ inputs.golang }}
2929
cache-dependency-path: go-ethereum/go.sum

.github/actions/build-fixtures/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ runs:
4141
shell: bash
4242
run: |
4343
uv run fill -n ${{ steps.evm-builder.outputs.x-dist }} --evm-bin=${{ steps.evm-builder.outputs.evm-bin }} --solc-version=${{ steps.properties.outputs.solc }} --skip-evm-dump ${{ steps.properties.outputs.fill-params }} --output=fixtures_${{ inputs.release_name }}.tar.gz --build-name ${{ inputs.release_name }}
44-
- uses: actions/upload-artifact@v4
44+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
4545
with:
4646
name: fixtures_${{ inputs.release_name }}
4747
path: fixtures_${{ inputs.release_name }}.tar.gz

.github/workflows/coverage.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1717

1818
- name: Debug GitHub context
1919
run: |
@@ -26,7 +26,7 @@ jobs:
2626
2727
- name: Get all changed python files in tests/ and changes to coverted-ethereum-tests.txt
2828
id: changed-tests
29-
uses: tj-actions/changed-files@v45
29+
uses: tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c
3030
with:
3131
# TODO: non-test modules such as __init__.py or spec.py could effect coverage - in this case we should
3232
# fill all applicable tests (i.e., all the test_*.py files in or under the changed module's directory)
@@ -60,7 +60,7 @@ jobs:
6060
6161
- name: Log in to Docker Hub
6262
if: ${{ steps.changed-tests.outputs.tests_any_changed == 'true' && github.event.pull_request.head.repo.full_name == github.repository }}
63-
uses: docker/login-action@v3
63+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772
6464
with:
6565
username: winsvega
6666
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -94,7 +94,7 @@ jobs:
9494
targets: "evmone-t8n"
9595

9696
- name: Checkout ethereum/tests
97-
uses: actions/checkout@v4
97+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
9898
if: steps.changed-tests.outputs.tests_any_changed == 'true'
9999
with:
100100
repository: ethereum/tests
@@ -104,7 +104,7 @@ jobs:
104104
EOFTests
105105
106106
- name: Checkout ethereum/legacytests
107-
uses: actions/checkout@v4
107+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
108108
if: steps.changed-tests.outputs.tests_any_changed == 'true'
109109
with:
110110
repository: ethereum/legacytests
@@ -277,23 +277,23 @@ jobs:
277277
ls ${{ github.workspace }}/evmtest_coverage/coverage/PATCH_TESTS
278278
279279
- name: Run coverage of the BASE tests
280-
uses: addnab/docker-run-action@v3
280+
uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185
281281
if: ${{ steps.changed-tests.outputs.tests_any_changed == 'true' }}
282282
with:
283283
image: winsvega/evmone-coverage-script:latest
284284
options: -v ${{ github.workspace }}/evmtest_coverage/coverage:/tests
285285
run: /entrypoint.sh --mode=cover --driver=native --testpath=/tests/BASE_TESTS --outputname=BASE
286286

287287
- name: Run coverage of the PATCH tests
288-
uses: addnab/docker-run-action@v3
288+
uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185
289289
if: ${{ steps.changed-tests.outputs.tests_any_changed == 'true' }}
290290
with:
291291
image: winsvega/evmone-coverage-script:latest
292292
options: -v ${{ github.workspace }}/evmtest_coverage/coverage:/tests
293293
run: /entrypoint.sh --mode=cover --driver=native --testpath=/tests/PATCH_TESTS --outputname=PATCH
294294

295295
- name: Run coverage DIFF of the PATCH tests compared to BASE tests
296-
uses: addnab/docker-run-action@v3
296+
uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185
297297
if: ${{ steps.changed-tests.outputs.tests_any_changed == 'true' }}
298298
with:
299299
image: winsvega/evmone-coverage-script:latest
@@ -307,15 +307,15 @@ jobs:
307307
sudo chown -R $user:$user ${{ github.workspace }}/evmtest_coverage/coverage
308308
309309
- name: Upload coverage results
310-
uses: actions/upload-artifact@v4
310+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
311311
if: ${{ steps.changed-tests.outputs.tests_any_changed == 'true' }}
312312
with:
313313
name: coverage-diff-native-${{ github.run_id }}-${{ github.run_attempt }}
314314
path: ${{ github.workspace }}/evmtest_coverage/coverage
315315
compression-level: 6 # Default compression level for optimal balance
316316

317317
- name: Verify coverage results
318-
uses: addnab/docker-run-action@v3
318+
uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185
319319
if: ${{ steps.changed-tests.outputs.tests_any_changed == 'true' }}
320320
with:
321321
image: winsvega/evmone-coverage-script:latest

.github/workflows/docs_deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2121
with:
2222
fetch-depth: 0
2323
ssh-key: ${{secrets.GH_ACTIONS_DEPLOY_KEY}}

.github/workflows/fixtures.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
outputs:
1313
features: ${{ steps.parse.outputs.features }}
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1616
- name: Get names from .github/configs/feature.yaml
1717
id: parse
1818
shell: bash
@@ -25,7 +25,7 @@ jobs:
2525
matrix:
2626
name: ${{ fromJson(needs.features.outputs.features) }}
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2929
with:
3030
submodules: true
3131
- uses: ./.github/actions/build-fixtures
@@ -37,11 +37,11 @@ jobs:
3737
if: startsWith(github.ref, 'refs/tags/')
3838
steps:
3939
- name: Download artifacts
40-
uses: actions/download-artifact@v4
40+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
4141
with:
4242
path: .
4343
- name: Draft Release
44-
uses: softprops/action-gh-release@v2
44+
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda
4545
with:
4646
files: "./**"
4747
draft: true

.github/workflows/fixtures_feature.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
outputs:
1313
names: ${{ steps.feature-name.outputs.names }}
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1616
with:
1717
submodules: false
1818
- name: Get feature names
@@ -29,7 +29,7 @@ jobs:
2929
matrix:
3030
feature: ${{ fromJSON(needs.feature-names.outputs.names) }}
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
3333
with:
3434
submodules: true
3535
- uses: ./.github/actions/build-fixtures
@@ -41,11 +41,11 @@ jobs:
4141
if: startsWith(github.ref, 'refs/tags/')
4242
steps:
4343
- name: Download artifacts
44-
uses: actions/download-artifact@v4
44+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
4545
with:
4646
path: .
4747
- name: Draft Pre-release
48-
uses: softprops/action-gh-release@v2
48+
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda
4949
with:
5050
files: "./**"
5151
draft: true

.github/workflows/tox_verify.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout ethereum/execution-spec-tests
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1313
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }}
14-
uses: astral-sh/setup-uv@v5
14+
uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231
1515
with:
1616
enable-cache: true
1717
cache-dependency-glob: "uv.lock"
@@ -25,9 +25,9 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout ethereum/execution-spec-tests
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2929
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }}
30-
uses: astral-sh/setup-uv@v5
30+
uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231
3131
with:
3232
enable-cache: true
3333
cache-dependency-glob: "uv.lock"
@@ -41,9 +41,9 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Checkout ethereum/execution-spec-tests
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
4545
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }}
46-
uses: astral-sh/setup-uv@v5
46+
uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231
4747
with:
4848
enable-cache: true
4949
cache-dependency-glob: "uv.lock"
@@ -60,8 +60,8 @@ jobs:
6060
runs-on: ubuntu-latest
6161
steps:
6262
- name: Checkout ethereum/execution-spec-tests
63-
uses: actions/checkout@v4
64-
- uses: DavidAnson/markdownlint-cli2-action@v16
63+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
64+
- uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8
6565
with:
6666
globs: |
6767
README.md
@@ -72,9 +72,9 @@ jobs:
7272
runs-on: ubuntu-latest
7373
steps:
7474
- name: Checkout ethereum/execution-spec-tests
75-
uses: actions/checkout@v4
75+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
7676
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }}
77-
uses: astral-sh/setup-uv@v5
77+
uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231
7878
with:
7979
enable-cache: true
8080
cache-dependency-glob: "uv.lock"
@@ -97,9 +97,9 @@ jobs:
9797
python: "3.12"
9898
steps:
9999
- name: Checkout ethereum/execution-spec-tests
100-
uses: actions/checkout@v4
100+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
101101
- name: Checkout ethereum/execution-specs for local EELS implementation
102-
uses: actions/checkout@v4
102+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
103103
with:
104104
repository: ethereum/execution-specs
105105
ref: fa847a0e48309debee8edc510ceddb2fd5db2f2e
@@ -108,7 +108,7 @@ jobs:
108108
src/ethereum
109109
fetch-depth: 1
110110
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ matrix.python }}
111-
uses: astral-sh/setup-uv@v5
111+
uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231
112112
with:
113113
enable-cache: true
114114
cache-dependency-glob: "uv.lock"
@@ -134,9 +134,9 @@ jobs:
134134
python: "3.12"
135135
steps:
136136
- name: Checkout ethereum/execution-spec-tests
137-
uses: actions/checkout@v4
137+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
138138
- name: Checkout ethereum/execution-specs for local EELS implementation
139-
uses: actions/checkout@v4
139+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
140140
with:
141141
repository: ethereum/execution-specs
142142
ref: fa847a0e48309debee8edc510ceddb2fd5db2f2e
@@ -145,7 +145,7 @@ jobs:
145145
src/ethereum
146146
fetch-depth: 1
147147
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ matrix.python }}
148-
uses: astral-sh/setup-uv@v5
148+
uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231
149149
with:
150150
enable-cache: true
151151
cache-dependency-glob: "uv.lock"

0 commit comments

Comments
 (0)