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

27 lines
470 B
YAML
Raw Normal View History

2019-10-06 14:02:12 +03:00
name: Go
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
2021-09-03 00:53:56 +03:00
- name: Set up Go
uses: actions/setup-go@v5
2019-10-06 14:02:12 +03:00
with:
go-version-file: go.mod
2019-10-06 14:02:12 +03:00
- name: Lint
uses: golangci/golangci-lint-action@v3.7.0
with:
version: v1.54
2022-04-06 11:25:07 +03:00
args : --verbose
2019-10-06 14:02:12 +03:00
- name: Test
run: |
make test
2019-10-06 14:02:12 +03:00