Skip to content

Commit 06c28d5

Browse files
committed
action linter
1 parent c3e5668 commit 06c28d5

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

.github/workflows/test.yaml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)