Skip to content

Commit

Permalink
add missing configuration to the golangci-lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn committed Feb 24, 2024
1 parent 6ccec02 commit c058c60
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,23 @@ on:
- master
pull_request:

permissions:
contents: read

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: v1.56

0 comments on commit c058c60

Please sign in to comment.