From 7b611ff8b5e04adca4d65770b6ec78b99936ddec Mon Sep 17 00:00:00 2001 From: Roxana Meixner Date: Thu, 23 Nov 2023 16:31:15 +0100 Subject: [PATCH] fix lint workflow --- .github/workflows/linting.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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