Skip to content

Merge pull request #7 from Icinga/constrainter #12

Merge pull request #7 from Icinga/constrainter

Merge pull request #7 from Icinga/constrainter #12

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request: { }
jobs:
go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
cache: false
- name: Lint
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
- name: Test
run: go test -v ./...