From 43df184c6d0d127209ad3cbd85bbd55f1fe73ade Mon Sep 17 00:00:00 2001 From: Charlie Le <3375195+CharlieTLe@users.noreply.github.com> Date: Fri, 22 Mar 2024 13:24:24 -0700 Subject: [PATCH] Checkout Go before running lint (#26) Copied the other workflow steps. Signed-off-by: Charlie Le --- .github/workflows/validate_pr.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate_pr.yml b/.github/workflows/validate_pr.yml index e53a5a954..d98f692e9 100644 --- a/.github/workflows/validate_pr.yml +++ b/.github/workflows/validate_pr.yml @@ -2,14 +2,18 @@ name: Validate PR on: pull_request: paths-ignore: - - 'docs/**' - - '*.md' + - "docs/**" + - "*.md" jobs: lint: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 + - name: Set up Go 1.16 + uses: actions/setup-go@v1 + with: + go-version: 1.16 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: