Skip to content

Update dependency golangci/golangci-lint to v1.55.2 #156

Update dependency golangci/golangci-lint to v1.55.2

Update dependency golangci/golangci-lint to v1.55.2 #156

Workflow file for this run

name: go
on:
push:
branches:
- master
paths:
- .github/workflows/go.yaml
- '**.go'
- go.*
pull_request:
paths:
- .github/workflows/go.yaml
- '**.go'
- go.*
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: 1.21.3
cache: true
- uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
args: --timeout=3m
tidy:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: 1.21.3
cache: true
- run: go mod tidy
- uses: int128/update-generated-files-action@v2
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: 1.21.3
cache: true
- run: go test -v -race ./...