Linked multi query #321
Workflow file for this run
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: test | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
containers: [ 1.18 ] | |
runs-on: ubuntu-latest | |
container: golang:${{ matrix.containers }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cache/go-build | |
/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Update go modules | |
run: go mod tidy | |
- name: Unit Tests | |
env: | |
RPC_URL: ${{ secrets.RPC_URL }} | |
run: go test -race -timeout=60s ./... |