diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 5f59d49..6912b9e 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -6,11 +6,17 @@ on: - main pull_request: +permissions: + contents: read + jobs: lint: name: lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/go-setup + - uses: actions/setup-go@v4 + with: + go-version: '1.21.4' + cache: false - uses: golangci/golangci-lint-action@v3