Skip to content

GH Actions: bump golangci/golangci-lint-action to v5 (was v4) #85

GH Actions: bump golangci/golangci-lint-action to v5 (was v4)

GH Actions: bump golangci/golangci-lint-action to v5 (was v4) #85

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request: {}
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: '1.21'
- run: go mod download
- name: Test
run: go test -v ./...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- run: go mod download
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: v1.54
args: -c .golangci.yml