Skip to content

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 #46

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 #46

Workflow file for this run

name: Go
on:
pull_request:
push:
branches:
- master
jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
go-version: ['1.17', '1.18']
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@v4
- name: Lint
uses: golangci/[email protected]
with:
version: v1.46
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...