From fad436447266c53737e176d7b32bf9285c5b97f7 Mon Sep 17 00:00:00 2001 From: Gabriel Cangussu Date: Fri, 18 Mar 2022 16:00:11 -0300 Subject: [PATCH] Fix passing go-version to setup-go action I believe we want to set `go-version` to the `setup-go` action, and not to the checkout action. I also put the setup-go as the action after the checkout, this is more conventional I believe and we can see it on the example at setup-go's readme: https://github.com/actions/setup-go#readme --- .github/workflows/golangci-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index b51ee24..63a783e 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -13,8 +13,8 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v2 - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 with: go-version: 1.17.x - name: golangci-lint