Skip to content

chore(deps): update module github.com/golangci/golangci-lint to v2.2.2 #229

chore(deps): update module github.com/golangci/golangci-lint to v2.2.2

chore(deps): update module github.com/golangci/golangci-lint to v2.2.2 #229

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
GOLANGCI_LINT_VERSION: "v2.2.2"
jobs:
build:
strategy:
matrix:
go-version: [ '1.19', '1.20', '1.21', '1.22', '1.23', '1.24' ]
os: [ ubuntu-24.04, macos-14, windows-2022 ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Enforce standard format
uses: golangci/golangci-lint-action@9fae48acfc02a90574d7c304a1758ef9895495fa # v7.0.1
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
args: --verbose
- name: Test
run: go test --cover -v ./...
- name: Build
run: go build -v ./...