Skip to content

Merge pull request #25 from ipfs/uci/update-go #76

Merge pull request #25 from ipfs/uci/update-go

Merge pull request #25 from ipfs/uci/update-go #76

Workflow file for this run

on: [push, pull_request]
name: Go Test
jobs:
unit:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu" ]
go: [ "1.18.x", "1.19.x" ]
env:
COVERAGES: ""
runs-on: ${{ matrix.os }}-latest
name: ${{ matrix.os}} (go ${{ matrix.go }})
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Go information
run: |
go version
go env
- name: Run tests
run: go test -v ./...
- name: Check formatted
run: gofmt -l .
- name: Fuzz
run: go test ./... -fuzz=Fuzz -fuzztime=1m