Skip to content

Commit

Permalink
Set go_version in linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ciarams87 committed Apr 11, 2022
1 parent e1d1556 commit aed0610
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -56,11 +56,16 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
needs: vars
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Golang Environment
uses: actions/setup-go@v3
with:
go-version: ${{ needs.vars.outputs.go_version }}
- name: Lint Code
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3.1.0
with:
args: --timeout ${{ env.GOLANGCI_TIMEOUT }}

Expand Down

0 comments on commit aed0610

Please sign in to comment.