Skip to content

Commit

Permalink
Merge pull request #196 from nbalacha/actions
Browse files Browse the repository at this point in the history
fix: specify the go version to be used
  • Loading branch information
openshift-merge-robot authored May 19, 2022
2 parents e6a44fe + ffd711b commit fe6e7bc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
branches: ['*']
pull_request:
branches: ['*']
env:
GO_VERSION: "1.17"

jobs:
golangci-lint:
Expand All @@ -14,6 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
Expand All @@ -35,7 +42,7 @@ jobs:
# only-new-issues: true

# Optional: if set to true then the action will use pre-installed Go.
# skip-go-installation: true
skip-go-installation: true

# Optional: if set to true then the action don't cache or
# restore ~/go/pkg.
Expand Down

0 comments on commit fe6e7bc

Please sign in to comment.