2022-04-21 02:29:19 +00:00
|
|
|
name: Vibe Check
|
2021-09-18 12:33:22 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-04-21 02:31:36 +00:00
|
|
|
branches: [ master, development ]
|
2021-09-18 12:33:22 +00:00
|
|
|
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
|
2022-04-21 02:37:04 +00:00
|
|
|
with:
|
|
|
|
args: -exclude=G404 ./...
|
2022-04-21 02:29:19 +00:00
|
|
|
- name: go build -v ./...
|
|
|
|
run: go build -v ./...
|