HellPot/.github/workflows/go.yml

25 lines
489 B
YAML
Raw Normal View History

2022-04-21 02:29:19 +00:00
name: Vibe Check
2021-09-18 12:33:22 +00:00
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
2021-10-17 17:09:28 +00:00
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
2022-04-09 01:36:55 +00:00
go-version: 1.18
2022-04-21 02:29:19 +00:00
- name: go vet -v ./...
2022-04-09 01:36:55 +00:00
run: go vet -v ./...
2022-04-21 02:29:19 +00:00
- name: gosec ./...
uses: securego/gosec@master
args: ./...
- name: go build -v ./...
run: go build -v ./...