Skip to content

Bump golangci/golangci-lint-action from 4 to 6 #37

Bump golangci/golangci-lint-action from 4 to 6

Bump golangci/golangci-lint-action from 4 to 6 #37

Workflow file for this run

name: Go CI
on:
push:
branches:
- "**"
pull_request:
branches:
- "master"
- "v*"
workflow_dispatch:
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Build
run: go build .
- name: Fmt
run: test -z $(gofmt -l .)
- name: Vet
run: go vet ./...
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.54
- name: Test
run: go test -v -race ./...