test: fix CVE-2025-22871 in trivy action #1773
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Windows Tests | |
| on: | |
| pull_request: {} | |
| push: {} | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| go: [ '^1.16' ] | |
| platform: [windows-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Run Windows Unit Tests | |
| run: | | |
| go version | |
| go test -v -race ./pkg/... |