Skip to content

Bump github.com/slack-go/slack from 0.23.1 to 0.29.0 in /lib #3241

Bump github.com/slack-go/slack from 0.23.1 to 0.29.0 in /lib

Bump github.com/slack-go/slack from 0.23.1 to 0.29.0 in /lib #3241

Workflow file for this run

name: Seth Go Tests
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: actions/checkout@v4
- name: Check for changes in Framework
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
with:
filters: |
src:
- 'seth/**'
test:
if: needs.changes.outputs.src == 'true'
needs: changes
strategy:
fail-fast: false
matrix:
test:
- regex: TestSmoke
network-type: Geth
url: "ws://localhost:8546"
extra_flags: "-race"
- regex: TestSmoke
network-type: Anvil
url: "http://localhost:8545"
extra_flags: "-race"
- regex: TestAPI
network-type: Geth
url: "ws://localhost:8546"
extra_flags: "-race"
- regex: TestAPI
network-type: Anvil
url: "http://localhost:8545"
extra_flags: "-race"
- regex: TestTrace
network-type: Geth
url: "ws://localhost:8546"
extra_flags: "-race"
- regex: TestTrace
network-type: Anvil
url: "http://localhost:8545"
extra_flags: "-race"
- regex: TestCLI
network-type: Geth
url: "ws://localhost:8546"
extra_flags: "-race"
- regex: TestCLI
network-type: Anvil
url: "http://localhost:8545"
extra_flags: "-race"
# TODO: wasn't stable before, fix if possible
# - regex: TestGasBumping
# network-type: Geth
# url: "ws://localhost:8546"
# - regex: TestGasBumping
# network-type: Anvil
# url: "http://localhost:8545"
# Some test config tests use Simualted Backend, which is not has data races...
- regex: "'TestConfig'"
network-type: Geth
url: "ws://localhost:8546"
extra_flags: "''"
# TODO: still expects Geth WS URL for some reason
- regex: "'TestConfig'"
network-type: Anvil
url: "http://localhost:8545"
extra_flags: "''"
- regex: "'TestContractMap|TestGasEstimator|TestRPCHealthCheck|TestUtil|TestContract'"
network-type: Geth
url: "ws://localhost:8546"
extra_flags: "-race"
# TODO: still expects Geth WS URL for some reason
- regex: "'TestContractMap|TestGasEstimator|TestRPCHealthCheck|TestUtil|TestContract'"
network-type: Anvil
url: "http://localhost:8545"
extra_flags: "-race"
defaults:
run:
working-directory: seth
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Check for changes in Framework
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
id: changes
with:
filters: |
src:
- 'seth/**'
- name: Install Devbox
uses: jetify-com/devbox-install-action@8c6a66ed6273138b1915457069de78cb52fe3bd7 # v0.15.0
with:
enable-cache: 'true'
- name: Set up Go
uses: actions/setup-go@v7
with:
go-version-file: seth/go.mod
- name: Cache Go modules
uses: actions/cache@v5
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: go-modules-${{ hashFiles('seth/go.sum') }}-${{ runner.os }}-seth
restore-keys: |
go-modules-${{ runner.os }}-seth
go-modules-${{ runner.os }}
- name: Install dependencies
run: go mod download
- uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
just-version: '1.39.0'
- name: Run tests
run: |
devbox run -- just seth-test ${{ matrix.test.network-type }} ${{ matrix.test.url }} ${{ matrix.test.regex }} ${{ matrix.test.extra_flags}}
test-results:
name: Seth Tests
runs-on: ubuntu-latest
if: ${{ always() }}
needs: test
steps:
- name: Require all matrix jobs passed
run: |
if [ "${{ needs.test.result }}" != "skipped" ] && [ "${{ needs.test.result }}" != "success" ]; then
echo "::error::One or more Seth test matrix jobs failed or were cancelled."
exit 1
fi
echo "All Seth test matrix jobs succeeded."