Skip to content

Add go github workflows #1

Add go github workflows

Add go github workflows #1

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-actions@v3
with:
version: latest
# Enable the gosec linter w/o having to create a .golangci.yml config
args: -E gosec
skip-cache: true