Fix bounded consistent hash with filtered endpoints #7048
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: pr | |
| on: [ pull_request ] | |
| permissions: | |
| contents: read | |
| env: | |
| TESTCONTAINERS_RYUK_DISABLED: true | |
| jobs: | |
| semgrep: | |
| if: ${{ github.actor != 'dependabot[bot]' }} | |
| runs-on: ubuntu-latest | |
| container: | |
| image: returntocorp/semgrep | |
| steps: | |
| # Retrieve the source code for the repository | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| # Fetch the semgrep rules | |
| - run: git clone https://github.com/dgryski/semgrep-go.git | |
| # Run the rule checker using the fetched rules | |
| - run: semgrep ci -f semgrep-go | |
| check-race_rest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 | |
| with: | |
| # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
| go-version: "^1.23" | |
| check-latest: true | |
| - run: go version | |
| - run: make deps | |
| - run: make check-race_rest | |
| check-race_skipper: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 | |
| with: | |
| # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
| go-version: "^1.23" | |
| check-latest: true | |
| - run: go version | |
| - run: make deps | |
| - run: make check-race_skipper | |
| check-race_proxy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 | |
| with: | |
| # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
| go-version: "^1.23" | |
| check-latest: true | |
| - run: go version | |
| - run: make deps | |
| - run: make check-race_proxy | |
| check-race_ratelimit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 | |
| with: | |
| # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
| go-version: "^1.23" | |
| check-latest: true | |
| - run: go version | |
| - run: make deps | |
| - run: make check-race_ratelimit | |
| check-race_net: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 | |
| with: | |
| # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
| go-version: "^1.23" | |
| check-latest: true | |
| - run: go version | |
| - run: make deps | |
| - run: make check-race_net | |
| tests_rest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 | |
| with: | |
| # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
| go-version: "^1.23" | |
| check-latest: true | |
| - run: go version | |
| - run: make deps | |
| - run: | | |
| : Check format | |
| make fmt | |
| git diff --exit-code | |
| - run: make vet | |
| - run: make staticcheck | |
| - run: make shortcheck_rest | |
| tests_skipper: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 | |
| with: | |
| # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
| go-version: "^1.23" | |
| check-latest: true | |
| - run: go version | |
| - run: make deps | |
| - run: | | |
| : Check format | |
| make fmt | |
| git diff --exit-code | |
| - run: make vet | |
| - run: make staticcheck | |
| - run: make shortcheck_skipper | |
| tests_proxy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 | |
| with: | |
| # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
| go-version: "^1.23" | |
| check-latest: true | |
| - run: go version | |
| - run: make deps | |
| - run: | | |
| : Check format | |
| make fmt | |
| git diff --exit-code | |
| - run: make vet | |
| - run: make staticcheck | |
| - run: make shortcheck_proxy | |
| tests_ratelimit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 | |
| with: | |
| # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
| go-version: "^1.23" | |
| check-latest: true | |
| - run: go version | |
| - run: make deps | |
| - run: | | |
| : Check format | |
| make fmt | |
| git diff --exit-code | |
| - run: make vet | |
| - run: make staticcheck | |
| - run: make shortcheck_ratelimit | |
| tests_net: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 | |
| with: | |
| # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
| go-version: "^1.23" | |
| check-latest: true | |
| - run: go version | |
| - run: make deps | |
| - run: | | |
| : Check format | |
| make fmt | |
| git diff --exit-code | |
| - run: make vet | |
| - run: make staticcheck | |
| - run: make shortcheck_net |