From ed0c80ea52847942c0fe7c210f6381f9d3ebdcbb Mon Sep 17 00:00:00 2001 From: Simon Sawert Date: Sun, 1 Oct 2023 22:46:12 +0200 Subject: [PATCH] Checkout code and setup-go before linting --- .github/workflows/go.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index b0beda5..d4a953f 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -24,5 +24,12 @@ jobs: lint: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.21" + - name: "Run golangci-lint" uses: golangci/golangci-lint-action@v3