File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,18 +34,24 @@ jobs:
3434 lint :
3535 strategy :
3636 matrix :
37- go-version : [1.25.x]
38- platform : [ubuntu-latest]
39- runs-on : ${{ matrix.platform }}
37+ go : [ 1.25.x ]
38+ os : [ ubuntu-latest ]
39+ name : lint-plugin
40+ runs-on : ${{ matrix.os }}
4041 steps :
41- - name : Checkout code
42- uses : actions/checkout@v4
42+ - uses : actions/setup-go@v5
43+ with :
44+ go-version : ${{ matrix.go }}
45+ check-latest : true
46+ cache : true
47+ - uses : actions/checkout@v4
48+ name : Checkout code
4349 - name : Install golangci-lint
4450 run : |
4551 go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8
46- - name : golangci-lint
52+ - name : Run linter
4753 run : |
48- golangci-lint run -v --config config/.golangci-no-plugin.yml
54+ golangci-lint run -v --out-format github-actions -- config config/.golangci-no-plugin.yml
4955 lint-plugin :
5056 strategy :
5157 matrix :
You can’t perform that action at this time.
0 commit comments