Skip to content

Add static analysis in github workflow #47

Add static analysis in github workflow

Add static analysis in github workflow #47

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
go:
name: test
strategy:
matrix:
go-version: [1.16.x, 1.19.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: go test -v -cover ./...