Skip to content

Docs: Create Security Policy #48

Docs: Create Security Policy

Docs: Create Security Policy #48

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches:
- master
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
go:
- 1.16
name: Go ${{ matrix.go }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
id: go
- name: Get dependencies
run: go get -t -v ./...
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/[email protected]
- name: Lint
run: staticcheck -checks=all ./...
- name: Test
run: go test -v -race ./...