Skip to content

Bump golangci/golangci-lint-action from 6.1.1 to 6.4.0 #163

Bump golangci/golangci-lint-action from 6.1.1 to 6.4.0

Bump golangci/golangci-lint-action from 6.1.1 to 6.4.0 #163

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.59.1
build:
name: build
runs-on: ubuntu-latest
env:
CGO_ENABLED: 0
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.20
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: |
go mod download
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...