mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-12 22:11:15 +00:00
chore: update workflow
This commit is contained in:
parent
27a8ca6470
commit
276d9c2233
1 changed files with 32 additions and 0 deletions
32
.github/workflows/test.yml
vendored
32
.github/workflows/test.yml
vendored
|
|
@ -114,3 +114,35 @@ jobs:
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ matrix.wd }}
|
working-directory: ${{ matrix.wd }}
|
||||||
args: --timeout=5m --issues-exit-code=0 ./...
|
args: --timeout=5m --issues-exit-code=0 ./...
|
||||||
|
|
||||||
|
test-plugins: # make sure the action works on a clean machine with plugins
|
||||||
|
needs: [ build ]
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-latest
|
||||||
|
- ubuntu-22.04-arm
|
||||||
|
- macos-latest
|
||||||
|
- windows-latest
|
||||||
|
version:
|
||||||
|
- ""
|
||||||
|
- "latest"
|
||||||
|
- "v2.5"
|
||||||
|
- "v2.5.0"
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: read
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v5
|
||||||
|
- uses: actions/setup-node@v6
|
||||||
|
with:
|
||||||
|
node-version: 24.x
|
||||||
|
- uses: actions/setup-go@v6
|
||||||
|
with:
|
||||||
|
go-version: oldstable
|
||||||
|
- uses: ./
|
||||||
|
with:
|
||||||
|
version: ${{ matrix.version }}
|
||||||
|
working-directory: sample-plugins
|
||||||
|
args: --timeout=5m --issues-exit-code=0 ./...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue