Skip to content

Feature/pid 1123

Feature/pid 1123 #291

Workflow file for this run

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 ./...