From c538542654463c2f2f9c0a6ceb54264ea3930595 Mon Sep 17 00:00:00 2001 From: cubicroot Date: Mon, 4 Sep 2023 15:59:49 +0200 Subject: [PATCH] try checking out ref --- .github/workflows/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 24eadbfb..aa732386 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,9 +41,12 @@ jobs: image: cubicrootxyz/matrix-go:1.21 options: --user root steps: - - uses: actions/checkout@v3 + name: Checkout the repository + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Run golangci - run: golangci-lint run --timeout 3m0s -buildvcs=false + run: golangci-lint run --timeout 3m0s build_documentation: runs-on: ubuntu-latest