Skip to content

Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 (#356) #664

Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 (#356)

Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 (#356) #664

Workflow file for this run

name: push-tests
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version-file: ./go.mod
- name: Build
env:
CGO_ENABLED: 0
GOOS: linux
run: go build --tags static_all -o ./bin/collect ./cmd/collect
- name: Test
run: go test -v ./...