vuln-list-update/.github/workflows/go.yml

28 lines
483 B
YAML

name: Go
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Lint
uses: golangci/golangci-lint-action@v3.7.0
with:
version: v1.45
args : --verbose
- name: Test
run: |
go test -v ./...