Skip to content

Commit

Permalink
feat(integration.yaml): use env vars for beacon node URLs
Browse files Browse the repository at this point in the history
feat: remove exportloopref linter

The integration workflow now uses environment variables to
configure beacon node URLs, and the exportloopref linter has been
removed from the golangci configuration.
  • Loading branch information
samcm committed Feb 21, 2025
1 parent 6379fae commit 5852cd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
network: [mainnet]
runs-on: ubuntu-latest
timeout-minutes: 10
env:
MAINNET_BEACON_API_URL: ${{ secrets.MAINNET_BEACON_API_URL }}
HOLESKY_BEACON_API_URL: ${{ secrets.HOLESKY_BEACON_API_URL }}
steps:
- uses: actions/checkout@v3
- name: Print details
Expand All @@ -28,5 +31,4 @@ jobs:
with:
consensus: ${{ matrix.consensus }}
network: ${{ matrix.network }}
beacon_node_url: ${{ matrix.network == 'mainnet' && secrets.MAINNET_BEACON_API_URL || secrets.HOLESKY_BEACON_API_URL }}

beacon_node_url: ${{ matrix.network == 'mainnet' && env.MAINNET_BEACON_API_URL || env.HOLESKY_BEACON_API_URL }}
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ linters:
- dogsled
- dupl
- errcheck
- exportloopref
- goconst
- gocritic
- gofmt
Expand Down

0 comments on commit 5852cd5

Please sign in to comment.