Skip to content

Bump golangci/golangci-lint-action from 3 to 4 (#14) #55

Bump golangci/golangci-lint-action from 3 to 4 (#14)

Bump golangci/golangci-lint-action from 3 to 4 (#14) #55

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
golangci:
name: golangci-lint
permissions:
contents: read
pull-requests: read
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/setup-go@v5
with:
go-version: "1.20"
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --timeout=5m
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.20"]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go test -race ./...
- run: go test -bench=. ./...