Skip to content

Add go github workflows #3

Add go github workflows

Add go github workflows #3

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request: {}
jobs:
go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: Test
run: go test -v ./...
- name: Vet
run: go vet ./...
- name: Go linter
uses: golangci/golangci-lint-action@v3
with:
version: latest
only-new-issues: true
# Enable the gosec linter w/o having to create a .golangci.yml config
args: -E gosec
skip-cache: true