From 2ffe43b42e22664de49303fdf00ddc1073ee05ab Mon Sep 17 00:00:00 2001 From: Anton Telyshev Date: Fri, 21 Jun 2024 06:20:25 +0300 Subject: [PATCH] ci: checkout before setup-go --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdfe813..23b2eea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,10 +33,10 @@ jobs: pull-requests: read # for golangci/golangci-lint-action to fetch pull requests runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/checkout@v4 - uses: golangci/golangci-lint-action@v6 with: version: ${{ env.GOLANGCI_LINT_VERSION }} @@ -48,10 +48,10 @@ jobs: contents: read # for actions/checkout to fetch code runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/checkout@v4 - run: go test -coverprofile=coverage.out ./... - uses: shogo82148/actions-goveralls@v1 with: