diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index b6d03ad..9594b83 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -11,32 +11,15 @@ jobs: name: Integration Test - Local Keystore runs-on: ubuntu-latest steps: - - uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 - with: - egress-policy: block - allowed-endpoints: > - api.github.com:443 - azure.archive.ubuntu.com:80 - esm.ubuntu.com:443 - ghcr.io:443 - github.com:443 - madhur-test-public.s3.us-east-2.amazonaws.com:443 - objects.githubusercontent.com:443 - packages.microsoft.com:443 - pkg-containers.githubusercontent.com:443 - proxy.golang.org:443 - release-assets.githubusercontent.com:443 - storage.googleapis.com:443 - sum.golang.org:443 - - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 + - uses: actions/setup-go@v4 with: go-version: '1.21' - name: Install Foundry - uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0 + uses: foundry-rs/foundry-toolchain@v1 with: version: nightly-c4a984fbf2c48b793c8cd53af84f56009dd1070c - name: Checkout eigensdk-go - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: repository: layr-labs/eigensdk-go token: ${{ github.token }} @@ -46,7 +29,7 @@ jobs: run: | nohup make start-anvil-with-contracts-deployed > nohup.out 2>&1 & - name: Install EigenLayer CLI - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: path: eigenlayer-cli - name: Install less @@ -101,34 +84,15 @@ jobs: name: Integration Test - Web3 Signer runs-on: ubuntu-latest steps: - - uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 - with: - egress-policy: block - allowed-endpoints: > - api.github.com:443 - auth.docker.io:443 - azure.archive.ubuntu.com:80 - esm.ubuntu.com:443 - ghcr.io:443 - github.com:443 - madhur-test-public.s3.us-east-2.amazonaws.com:443 - packages.microsoft.com:443 - pkg-containers.githubusercontent.com:443 - production.cloudflare.docker.com:443 - proxy.golang.org:443 - registry-1.docker.io:443 - release-assets.githubusercontent.com:443 - storage.googleapis.com:443 - sum.golang.org:443 - - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 + - uses: actions/setup-go@v4 with: go-version: '1.21' - name: Install Foundry - uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0 + uses: foundry-rs/foundry-toolchain@v1 with: version: nightly-c4a984fbf2c48b793c8cd53af84f56009dd1070c - name: Checkout eigensdk-go - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: repository: layr-labs/eigensdk-go token: ${{ github.token }} @@ -137,7 +101,7 @@ jobs: run: | nohup make start-anvil-with-contracts-deployed > nohup.out 2>&1 & - name: Install EigenLayer CLI - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: path: eigenlayer-cli - name: Install less @@ -199,29 +163,17 @@ jobs: name: Integration Test - User Commands runs-on: ubuntu-latest steps: - - uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 - with: - egress-policy: block - allowed-endpoints: > - api.github.com:443 - ghcr.io:443 - github.com:443 - pkg-containers.githubusercontent.com:443 - proxy.golang.org:443 - release-assets.githubusercontent.com:443 - storage.googleapis.com:443 - sum.golang.org:443 - - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 + - uses: actions/setup-go@v4 with: go-version: '1.21' - name: Install Foundry - uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0 + uses: foundry-rs/foundry-toolchain@v1 with: version: nightly-c4a984fbf2c48b793c8cd53af84f56009dd1070c - name: Checkout eigensdk-go - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: repository: layr-labs/eigensdk-go token: ${{ github.token }} @@ -232,12 +184,12 @@ jobs: nohup make start-anvil-with-contracts-deployed > nohup.out 2>&1 & - name: Install EigenLayer CLI - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@v4 with: path: eigenlayer-cli - name: Setup BATS - uses: mig4/setup-bats@af9a00deb21b5d795cabfeaa8d9060410377686d # v1.2.0 + uses: mig4/setup-bats@v1 - name: Install EigenLayer CLI run: | @@ -254,4 +206,4 @@ jobs: - name: Run User Command Integration Tests run: | cd eigenlayer-cli/tests/user - ./user-integration-tests-runner.sh \ No newline at end of file + ./user-integration-tests-runner.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 383a223..3e500eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,7 @@ jobs: with: go-version: "1.21" - name: Run GoReleaser - uses: goreleaser/goreleaser-action@286f3b13755c3b29d1dcb9c4edf51fcc83fa2e73 # v6.1.0 + uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0 with: distribution: goreleaser version: latest @@ -66,4 +66,4 @@ jobs: env: #https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TELEMETRY_TOKEN: ${{ secrets.TELEMETRY_TOKEN }} \ No newline at end of file + TELEMETRY_TOKEN: ${{ secrets.TELEMETRY_TOKEN }}