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