Use reputer nonce as latestAvailable #2268
This file contains 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: Run Format, Unit Tests, and Integration Tests | |
on: [pull_request] | |
jobs: | |
gofmt: | |
name: "Go Format Check" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check code formatting using gofmt | |
uses: Jerome1337/[email protected] | |
with: | |
gofmt-path: '.' | |
gofmt-flags: '-l -d' | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
- name: Test | |
uses: robherley/[email protected] | |
integration-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 25 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
- name: Apply Invariants Patch | |
run: git apply ./test/fuzz/invariants.patch | |
- name: Run allora l1 chain | |
run: bash ./test/local_testnet_l1.sh | |
- name: IntegrationTest | |
run: INTEGRATION=TRUE RPC_MODE="RoundRobin" RPC_URLS="http://localhost:26657,http://localhost:26658,http://localhost:26659" /usr/bin/go test -timeout 15m -run ^TestExternalTestSuite$ github.com/allora-network/allora-chain/test/integration -v | |