Skip to content

Commit

Permalink
fix: updating go linter workflow to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
ivgonzalezc committed Nov 7, 2024
1 parent 1c3085d commit 5a200b8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/golint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,23 @@ on:
workflow_dispatch:

permissions:
contents: write
contents: read

jobs:
golint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable

- name: Go Lint
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
uses: golangci/golangci-lint-action@v6
with:
version: v1.54
version: v1.60
10 changes: 10 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
output:
formats:
- format: colored-line-number
path: stdout
print-issued-lines: true
print-linter-name: true
sort-results: true
sort-order:
- file
- severity

0 comments on commit 5a200b8

Please sign in to comment.