Bump golangci/golangci-lint-action from 456fc0f7358ebf6cdd48ca0d2d56e88a6c7aa077 to 7b561e5ab6624d4582c82a4315e0d65ec7a6ad00 #813
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
go: [1.22.8] | |
name: go ${{ matrix.go }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
check-latest: true | |
cache: true | |
- name: Tests | |
run: make test | |
- name: benchmarks | |
run: make bench | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
check-latest: true | |
cache: true | |
- name: E2E tests | |
run: make test-e2e | |
- name: Build | |
uses: goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 | |
with: | |
distribution: goreleaser | |
version: v1.10.3 | |
args: build --snapshot --rm-dist --skip-post-hooks --skip-validate --single-target | |
env: | |
GOOS: linux |