Skip to content

Commit

Permalink
Fix lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
ackleymi committed Nov 15, 2023
1 parent 86a45e7 commit 705394e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,21 @@ on:
- main
jobs:
golangci:
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
name: lint
runs-on: ubuntu-latest
steps:
- name: Setup
uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v2
- name: Get Deps
run: go mod vendor
- name: Lint
uses: golangci/golangci-lint-action@v2
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.1
version: v1.51

build:
name: build
Expand Down

0 comments on commit 705394e

Please sign in to comment.