Skip to content

Commit

Permalink
upd golangci-lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Zhvakin committed Apr 12, 2024
1 parent 79fe9a1 commit a9d31f9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,24 @@ on:
branches:
- main
pull_request:

permissions:
contents: read

jobs:
golangci:
name: lint
strategy:
matrix:
go-version: [ 1.21.x ]
go: [ "1.21.x","1.22.x" ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down

0 comments on commit a9d31f9

Please sign in to comment.