From ac37b0fd12a6dfe5e2ff2b15477df39a0ddcb11d Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Wed, 20 Oct 2021 20:35:50 +0100 Subject: [PATCH] Prettier checkout change --- .github/workflows/lint.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 56e05418..09db7bb0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,6 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: @@ -19,6 +20,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 + ref: ${{ github.head_ref }} + persist-credentials: false - name: Prettify code uses: creyD/prettier_action@v4.0