mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-30 11:41:19 +02:00
ci: use go tool for running golangci-lint
Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
@@ -46,6 +46,15 @@
|
||||
depNameTemplate: "alpine",
|
||||
datasourceTemplate: "docker",
|
||||
},
|
||||
{
|
||||
customType: "regex",
|
||||
fileMatch: [
|
||||
"^Makefile",
|
||||
],
|
||||
matchStrings: [
|
||||
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+?GOLANGCILINT_VERSION \\?= (?<currentValue>.*)\\s",
|
||||
],
|
||||
},
|
||||
{
|
||||
customType: "regex",
|
||||
fileMatch: ["(^|/)\\.github/workflows/[^/]+\\.ya?ml$"],
|
||||
|
||||
@@ -35,12 +35,6 @@ jobs:
|
||||
go-version: ${{ steps.go-version.outputs.version }}
|
||||
check-latest: true
|
||||
|
||||
- name: Install golangci-lint
|
||||
uses: golangci/golangci-lint-action@v9
|
||||
with:
|
||||
install-only: true
|
||||
version: v2.11.4 # renovate: datasource=github-tags depName=golangci/golangci-lint
|
||||
|
||||
- name: Verify Code Generation
|
||||
run: |
|
||||
make verify-generate
|
||||
|
||||
@@ -55,12 +55,6 @@ jobs:
|
||||
go-version: ${{ steps.go-version.outputs.version }}
|
||||
check-latest: true
|
||||
|
||||
- name: Install golangci-lint
|
||||
uses: golangci/golangci-lint-action@v9
|
||||
with:
|
||||
install-only: true
|
||||
version: v2.11.4 # renovate: datasource=github-tags depName=golangci/golangci-lint
|
||||
|
||||
- name: Get go dependencies
|
||||
run: |
|
||||
go mod download
|
||||
|
||||
Reference in New Issue
Block a user