Skip to content

Commit

Permalink
[enh] update golint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
asciimoo committed Aug 13, 2024
1 parent c8f7b5e commit c797e60
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,22 @@ on:
branches:
- master
pull_request:

permissions:
contents: read
pull-requests: read


jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/checkout@v2
- uses: actions/checkout@latest
- uses: actions/setup-go@latest
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@latest
with:
version: latest

0 comments on commit c797e60

Please sign in to comment.