Skip to content

Commit b620cbe

Browse files
Thegaramzimpha
andauthored
ci: fix TOB-SCREUC-7, pin 3rd-party actions (#84)
Co-authored-by: zimpha <[email protected]>
1 parent 753e221 commit b620cbe

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/contracts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ jobs:
3333
submodules: recursive
3434

3535
- name: Install Foundry
36-
uses: foundry-rs/foundry-toolchain@v1
36+
uses: foundry-rs/foundry-toolchain@de808b1eea699e761c404bda44ba8f21aba30b2c # v1.3.1
3737
with:
3838
version: nightly
3939

4040
- name: Setup LCOV
41-
uses: hrishikesh-kadam/setup-lcov@v1
41+
uses: hrishikesh-kadam/setup-lcov@6c1aa0cc9e1c02f9f58f01ac599f1064ccc83470 # v1
4242

4343
- name: Install Node.js 18
4444
uses: actions/setup-node@v2
@@ -82,7 +82,7 @@ jobs:
8282
run : lcov --rc branch_coverage=1 --remove ./lcov.info -o ./lcov.info.pruned 'src/mocks/*' 'src/test/*' 'scripts/*' 'node_modules/*' 'lib/*' --ignore-errors unused,unused
8383

8484
- name: Upload coverage reports to Codecov
85-
uses: codecov/codecov-action@v3
85+
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4/
8686
env:
8787
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
8888
with:

.github/workflows/docker-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: git submodule update --init --recursive
2020

2121
- name: Set up QEMU
22-
uses: docker/setup-qemu-action@v2
22+
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0
2323

2424
- name: Setup Node.js environment
2525
uses: actions/setup-node@v3
@@ -30,12 +30,12 @@ jobs:
3030
run: npm install
3131

3232
- name: Set up Docker Buildx
33-
uses: docker/setup-buildx-action@v2
33+
uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0
3434
with:
3535
cache-binary: false
3636

3737
- name: Login to Dockerhub
38-
uses: docker/login-action@v2
38+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 #v3.3.0
3939
with:
4040
username: ${{ secrets.DOCKERHUB_USERNAME }}
4141
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -44,7 +44,7 @@ jobs:
4444
id: build_deploy_image
4545
env:
4646
REPOSITORY: scrolltech/scroll-stack-contracts
47-
uses: docker/build-push-action@v3
47+
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
4848
with:
4949
platforms: linux/amd64,linux/arm64
5050
push: true
@@ -57,7 +57,7 @@ jobs:
5757
id: build_gen_image
5858
env:
5959
REPOSITORY: scrolltech/scroll-stack-contracts
60-
uses: docker/build-push-action@v3
60+
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
6161
with:
6262
platforms: linux/amd64,linux/arm64
6363
push: true

0 commit comments

Comments
 (0)