Skip to content

Merge pull request #169 from humio/mike/ingesttokennotfound #388

Merge pull request #169 from humio/mike/ingesttokennotfound

Merge pull request #169 from humio/mike/ingesttokennotfound #388

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Build snapshot with GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: build --clean --snapshot
- name: Run Gosec Security Scanner
run: |
export PATH=$PATH:$(go env GOPATH)/bin
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec ./...
- name: Run Staticcheck
uses: dominikh/staticcheck-action@v1.3.1
with:
version: "2023.1.7"
install-go: false