mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +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 }}
|
go-version: ${{ matrix.go }}
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
|
- name: Install govulncheck
|
||||||
|
run: |
|
||||||
|
go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
|
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
|
||||||
run: |
|
run: |
|
||||||
@ -39,4 +43,5 @@ jobs:
|
|||||||
|
|
||||||
- name: govulncheck
|
- name: govulncheck
|
||||||
run: |
|
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