From 8ab08c62210c7397b41b1c7b335f27f0839e2551 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Tue, 27 Feb 2024 11:56:32 +0300 Subject: [PATCH] github: reorder actions/checkout and actions/setup-go steps Otherwise setup-go action won't work with go-version-file. Ref. https://github.com/actions/setup-go/issues/340. Signed-off-by: Anna Shaleva --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4884146d4..e2db7bba7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,10 +18,10 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - - uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v4 with: