mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 11:55:01 +01:00
build: add vulnerability testing using govulncheck
This commit is contained in:
parent
f4a571786c
commit
178cf821de
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -233,6 +233,19 @@ jobs:
|
|||||||
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
||||||
version: latest
|
version: latest
|
||||||
|
|
||||||
|
# Run govulncheck on the latest go version, the one we build binaries with
|
||||||
|
- name: Install Go
|
||||||
|
uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: 1.19
|
||||||
|
check-latest: true
|
||||||
|
|
||||||
|
- name: Install govulncheck
|
||||||
|
run: go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||||
|
|
||||||
|
- name: Scan for vulnerabilities
|
||||||
|
run: govulncheck ./...
|
||||||
|
|
||||||
android:
|
android:
|
||||||
if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual }}
|
if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual }}
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
Loading…
Reference in New Issue
Block a user