Skip to content

Commit 78c692b

Browse files
authored
Update release.yml (#347)
1 parent 691d545 commit 78c692b

2 files changed

Lines changed: 16 additions & 64 deletions

File tree

‎.github/workflows/integration-test.yml‎

Lines changed: 14 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,15 @@ jobs:
1111
name: Integration Test - Local Keystore
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911
15-
with:
16-
egress-policy: block
17-
allowed-endpoints: >
18-
api.github.com:443
19-
azure.archive.ubuntu.com:80
20-
esm.ubuntu.com:443
21-
ghcr.io:443
22-
github.com:443
23-
madhur-test-public.s3.us-east-2.amazonaws.com:443
24-
objects.githubusercontent.com:443
25-
packages.microsoft.com:443
26-
pkg-containers.githubusercontent.com:443
27-
proxy.golang.org:443
28-
release-assets.githubusercontent.com:443
29-
storage.googleapis.com:443
30-
sum.golang.org:443
31-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
14+
- uses: actions/setup-go@v4
3215
with:
3316
go-version: '1.21'
3417
- name: Install Foundry
35-
uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0
18+
uses: foundry-rs/foundry-toolchain@v1
3619
with:
3720
version: nightly-c4a984fbf2c48b793c8cd53af84f56009dd1070c
3821
- name: Checkout eigensdk-go
39-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
uses: actions/checkout@v4
4023
with:
4124
repository: layr-labs/eigensdk-go
4225
token: ${{ github.token }}
@@ -46,7 +29,7 @@ jobs:
4629
run: |
4730
nohup make start-anvil-with-contracts-deployed > nohup.out 2>&1 &
4831
- name: Install EigenLayer CLI
49-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32+
uses: actions/checkout@v4
5033
with:
5134
path: eigenlayer-cli
5235
- name: Install less
@@ -101,34 +84,15 @@ jobs:
10184
name: Integration Test - Web3 Signer
10285
runs-on: ubuntu-latest
10386
steps:
104-
- uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911
105-
with:
106-
egress-policy: block
107-
allowed-endpoints: >
108-
api.github.com:443
109-
auth.docker.io:443
110-
azure.archive.ubuntu.com:80
111-
esm.ubuntu.com:443
112-
ghcr.io:443
113-
github.com:443
114-
madhur-test-public.s3.us-east-2.amazonaws.com:443
115-
packages.microsoft.com:443
116-
pkg-containers.githubusercontent.com:443
117-
production.cloudflare.docker.com:443
118-
proxy.golang.org:443
119-
registry-1.docker.io:443
120-
release-assets.githubusercontent.com:443
121-
storage.googleapis.com:443
122-
sum.golang.org:443
123-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
87+
- uses: actions/setup-go@v4
12488
with:
12589
go-version: '1.21'
12690
- name: Install Foundry
127-
uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0
91+
uses: foundry-rs/foundry-toolchain@v1
12892
with:
12993
version: nightly-c4a984fbf2c48b793c8cd53af84f56009dd1070c
13094
- name: Checkout eigensdk-go
131-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
95+
uses: actions/checkout@v4
13296
with:
13397
repository: layr-labs/eigensdk-go
13498
token: ${{ github.token }}
@@ -137,7 +101,7 @@ jobs:
137101
run: |
138102
nohup make start-anvil-with-contracts-deployed > nohup.out 2>&1 &
139103
- name: Install EigenLayer CLI
140-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
104+
uses: actions/checkout@v4
141105
with:
142106
path: eigenlayer-cli
143107
- name: Install less
@@ -199,29 +163,17 @@ jobs:
199163
name: Integration Test - User Commands
200164
runs-on: ubuntu-latest
201165
steps:
202-
- uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911
203-
with:
204-
egress-policy: block
205-
allowed-endpoints: >
206-
api.github.com:443
207-
ghcr.io:443
208-
github.com:443
209-
pkg-containers.githubusercontent.com:443
210-
proxy.golang.org:443
211-
release-assets.githubusercontent.com:443
212-
storage.googleapis.com:443
213-
sum.golang.org:443
214-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
166+
- uses: actions/setup-go@v4
215167
with:
216168
go-version: '1.21'
217169

218170
- name: Install Foundry
219-
uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0
171+
uses: foundry-rs/foundry-toolchain@v1
220172
with:
221173
version: nightly-c4a984fbf2c48b793c8cd53af84f56009dd1070c
222174

223175
- name: Checkout eigensdk-go
224-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
176+
uses: actions/checkout@v4
225177
with:
226178
repository: layr-labs/eigensdk-go
227179
token: ${{ github.token }}
@@ -232,12 +184,12 @@ jobs:
232184
nohup make start-anvil-with-contracts-deployed > nohup.out 2>&1 &
233185
234186
- name: Install EigenLayer CLI
235-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
187+
uses: actions/checkout@v4
236188
with:
237189
path: eigenlayer-cli
238190

239191
- name: Setup BATS
240-
uses: mig4/setup-bats@af9a00deb21b5d795cabfeaa8d9060410377686d # v1.2.0
192+
uses: mig4/setup-bats@v1
241193

242194
- name: Install EigenLayer CLI
243195
run: |
@@ -254,4 +206,4 @@ jobs:
254206
- name: Run User Command Integration Tests
255207
run: |
256208
cd eigenlayer-cli/tests/user
257-
./user-integration-tests-runner.sh
209+
./user-integration-tests-runner.sh

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
with:
5858
go-version: "1.21"
5959
- name: Run GoReleaser
60-
uses: goreleaser/goreleaser-action@286f3b13755c3b29d1dcb9c4edf51fcc83fa2e73 # v6.1.0
60+
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
6161
with:
6262
distribution: goreleaser
6363
version: latest
@@ -66,4 +66,4 @@ jobs:
6666
env:
6767
#https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
6868
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69-
TELEMETRY_TOKEN: ${{ secrets.TELEMETRY_TOKEN }}
69+
TELEMETRY_TOKEN: ${{ secrets.TELEMETRY_TOKEN }}

0 commit comments

Comments
 (0)