Skip to content

Commit

Permalink
Is the linter GHA broken?
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonc committed Nov 30, 2022
1 parent 003c38e commit db37cb5
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/golangci-lint.yml
Expand Up @@ -9,15 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set local Go version
run: |
VERSION=`cat .go-version| awk '{printf$1}'`
echo "go_version=$VERSION" >> $GITHUB_ENV
- name: Setup Go Environment
uses: actions/setup-go@v3
- uses: actions/setup-go@v3
with:
go-version: "${{ env.go_version }}"
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
go-version-file: 'go.mod'
- uses: golangci/golangci-lint-action@v3
with:
version: v1.42

0 comments on commit db37cb5

Please sign in to comment.