Skip to content

Commit 28ab951

Browse files
authored
Merge pull request #1 from ava-labs/pin-github-action
chore: pin GitHub Actions to commit SHAs
2 parents 3bd8d11 + 6723be6 commit 28ab951

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/codeql-analysis.yml

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

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v2
41+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL

.github/workflows/json-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
env:
1616
BASE: ./networks
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
1919
- name: json-syntax-check
20-
uses: limitusus/json-syntax-check@v1.0.3
20+
uses: limitusus/json-syntax-check@2505a77aa5181d0d0f5b94cf5aaaf3abb07a2cb5 # v1.0.3
2121
with:
2222
pattern: "\\.json$"

.github/workflows/lint-tests-release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
name: Lint
1414
runs-on: ubuntu-18.04
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
1717
- run: ./scripts/lint_allowed_geth_imports.sh
1818
shell: bash
1919
- name: golangci-lint
20-
uses: golangci/golangci-lint-action@v2
20+
uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018 # v2
2121
with:
2222
version: v1.47
2323
working-directory: .
@@ -31,8 +31,8 @@ jobs:
3131
go: ["1.18"]
3232
os: [ubuntu-20.04]
3333
steps:
34-
- uses: actions/checkout@v3
35-
- uses: actions/setup-go@v3
34+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
35+
- uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3
3636
with:
3737
go-version: ${{ matrix.go }}
3838
- run: go mod download
@@ -49,15 +49,15 @@ jobs:
4949
runs-on: ubuntu-latest
5050
steps:
5151
- name: Git checkout
52-
uses: actions/checkout@v3
52+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
5353
with:
5454
fetch-depth: 0
5555
- name: Set up Go
56-
uses: actions/setup-go@v3
56+
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3
5757
with:
5858
go-version: 1.18
5959
- name: Use Node.js
60-
uses: actions/setup-node@v3
60+
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
6161
with:
6262
node-version: "14.x"
6363
- name: Yarn install
@@ -72,11 +72,11 @@ jobs:
7272
runs-on: ubuntu-latest
7373
steps:
7474
- name: Git checkout
75-
uses: actions/checkout@v3
75+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
7676
with:
7777
fetch-depth: 0
7878
- name: Set up Go
79-
uses: actions/setup-go@v3
79+
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3
8080
with:
8181
go-version: 1.18
8282
- name: Run simulator tests
@@ -88,18 +88,18 @@ jobs:
8888
runs-on: ubuntu-latest
8989
steps:
9090
- name: Git checkout
91-
uses: actions/checkout@v3
91+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
9292
with:
9393
fetch-depth: 0
9494
path: subnet-evm
9595
- name: Set up Go
96-
uses: actions/setup-go@v3
96+
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3
9797
with:
9898
go-version: 1.18
9999
- name: Set up arm64 cross compiler
100100
run: sudo apt-get -y install gcc-aarch64-linux-gnu
101101
- name: Checkout osxcross
102-
uses: actions/checkout@v2
102+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
103103
with:
104104
repository: tpoechtrager/osxcross
105105
path: osxcross
@@ -112,7 +112,7 @@ jobs:
112112
UNATTENDED=1 ./build.sh
113113
echo $PWD/target/bin >> $GITHUB_PATH
114114
- name: Run GoReleaser
115-
uses: goreleaser/goreleaser-action@v2
115+
uses: goreleaser/goreleaser-action@b953231f81b8dfd023c58e0854a721e35037f28b # v2
116116
with:
117117
distribution: goreleaser
118118
version: latest

0 commit comments

Comments
 (0)