Skip to content

Commit

Permalink
Update golangci-lint action
Browse files Browse the repository at this point in the history
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
  • Loading branch information
buraksekili committed Nov 2, 2023
1 parent 7f9e29e commit 0593f24
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,30 @@ on:
push:
branches:
- master
paths:
paths:
- '**.go'

pull_request:
branches:
- master
paths:
paths:
- '**.go'

jobs:
golangci:
name: linter
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
- name: check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2.5.2
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
version: v1.50.1

# Optional: golangci-lint command line arguments.
args: --verbose --timeout=5m
Expand Down

0 comments on commit 0593f24

Please sign in to comment.