Upgrade iden3comm and other dependencies (#79) #370
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.22 ] | |
runs-on: ubuntu-latest | |
container: golang:${{ matrix.containers }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
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 ./... |