Skip to content

tests

tests #316

Workflow file for this run

name: build
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.19.x, 1.20.x]
name: Build with Go ${{ matrix.go-version }}
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Go
uses: actions/setup-go@v2
with:
stable: false
go-version: ${{ matrix.go-version }}
- name: Run vet
run: go vet ./...
- name: Run Staticcheck
run: go run honnef.co/go/tools/cmd/[email protected] ./...
- name: Run tests
run: go test -v ./...