Skip to content

build(deps): bump golangci/golangci-lint-action from 4 to 5 #197

build(deps): bump golangci/golangci-lint-action from 4 to 5

build(deps): bump golangci/golangci-lint-action from 4 to 5 #197

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Install dependencies
run: go get .
- name: Vet
run: go vet ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: latest
- name: Test
run: go test -race -cover ./...