From 205def76f1180094196f65b2ac56cbbd9029cc3d Mon Sep 17 00:00:00 2001 From: x1m3 Date: Tue, 3 Dec 2024 12:57:03 +0100 Subject: [PATCH] fix: In linter, run action checkout before action setup --- .github/workflows/ci-lint.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-lint.yaml b/.github/workflows/ci-lint.yaml index 7172fb0..a30113a 100644 --- a/.github/workflows/ci-lint.yaml +++ b/.github/workflows/ci-lint.yaml @@ -9,13 +9,13 @@ jobs: lint: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v3 - name: Install Go uses: actions/setup-go@v4 with: go-version-file: go.mod cache: true - - name: Checkout code - uses: actions/checkout@v3 - name: Print branch run: git branch --show-current - name: Clear golangci-lint cache