Skip to content

workflows: update to go 1.21 and golangci updates #1494

workflows: update to go 1.21 and golangci updates

workflows: update to go 1.21 and golangci updates #1494

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches: [ main ]
paths:
- '**.go'
- .golangci.yml
- .github/workflows/golangci-lint.yml
pull_request:
branches: [ main ]
paths:
- '**.go'
- .golangci.yml
- .github/workflows/golangci-lint.yml
jobs:
lint:
name: lint
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/setup-go@v2
with:
go-version: ^1.21
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.55.2