feat: implement tiered endpoint selection with reputation signals #1438
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PATH Lint and Unit Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| run-linter: | |
| name: Run linter | |
| runs-on: "ubuntu-22.04" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24" | |
| - name: Setup Git Authentication | |
| run: | | |
| git config --global url."https://${{ github.token }}:[email protected]/".insteadOf "https://github.com/" | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: v2.1 | |
| args: --timeout 20m --verbose | |
| run-unit-tests: | |
| name: Run unit tests | |
| runs-on: "ubuntu-22.04" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24" | |
| - name: Setup Git Authentication | |
| run: | | |
| git config --global url."https://${{ github.token }}:[email protected]/".insteadOf "https://github.com/" | |
| - name: Run unit tests without CGO | |
| run: CGO_ENABLED=0 go test ./... -short | |
| - name: Run unit tests with CGO | |
| run: CGO_ENABLED=1 go test -tags "ethereum_secp256k1" ./... -short |