diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 07b5e5e60..68b1aeaad 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -15,10 +15,14 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: 1.21 + go-version: 1.22 - uses: actions/checkout@v3 + - name: Install modules + working-directory: ./web + run: npm ci - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: version: latest only-new-issues: true + diff --git a/.golangci.yml b/.golangci.yml index 37693758f..54830d7f8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -89,3 +89,7 @@ issues: - gosec - unparam - staticcheck + +output: + formats: + - format: colored-line-number \ No newline at end of file