Skip to content

Fix identified linter errors preventing errorlint, exhaustive, inamedparam, and staticcheck from running and enable those checks. #19

Fix identified linter errors preventing errorlint, exhaustive, inamedparam, and staticcheck from running and enable those checks.

Fix identified linter errors preventing errorlint, exhaustive, inamedparam, and staticcheck from running and enable those checks. #19

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- master
pull_request:
permissions:
contents: read-all

Check failure on line 9 in .github/workflows/golangci-lint.yml

View workflow run for this annotation

GitHub Actions / golangci-lint

Invalid workflow file

The workflow is not valid. .github/workflows/golangci-lint.yml (Line: 9, Col: 13): Unexpected value 'read-all'
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
with:
version: v2.0