mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
.github/workflows: add GOOS=js check for govulncheck
This commit is contained in:
parent
0153faef09
commit
137619e165
7
.github/workflows/vuln.yml
vendored
7
.github/workflows/vuln.yml
vendored
@ -31,6 +31,10 @@ jobs:
|
||||
go-version: ${{ matrix.go }}
|
||||
cache: true
|
||||
|
||||
- name: Install govulncheck
|
||||
run: |
|
||||
go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||
|
||||
- name: Install dependencies
|
||||
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
|
||||
run: |
|
||||
@ -39,4 +43,5 @@ jobs:
|
||||
|
||||
- name: govulncheck
|
||||
run: |
|
||||
go run golang.org/x/vuln/cmd/govulncheck@latest -tags=example ./...
|
||||
govulncheck -tags=example ./...
|
||||
env GOOS=js GOARCH=wasm govulncheck -tags=example ./...
|
||||
|
Loading…
Reference in New Issue
Block a user