florianl / govulncheck-action Goto Github PK
View Code? Open in Web Editor NEWVulnerability scanner for Go
License: MIT License
Vulnerability scanner for Go
License: MIT License
I created an action based off of the examples in the README: https://github.com/capnspacehook/egress-eddie/blob/59f4022b84449d4c5e3e77f269d990345fda8838/.github/workflows/vuln.yml
It failed when trying to cd
to the working directory, which defaulted to .
.
Output:
Run florianl/[email protected]
with:
install-go: false
govulncheck-verbose: true
working-directory: .
govulncheck-version: latest
govulncheck-json: false
Run if [[ "${json}" != "false" ]] ; then
if [[ "${json}" != "false" ]] ; then
flags+=" -json"
fi
if [ -z "${tags}" ] ; then
flags+=" -tags ${tags}"
fi
if [[ "${verbose}" != "false" ]] ; then
flags+=" -v"
fi
go install "golang.org/x/vuln/cmd/govulncheck@${version}"
cd ${working-directory}
$(go env GOPATH)/bin/govulncheck ./...
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
json: false
tags:
verbose: true
version: latest
working-directory: .
flags:
go: downloading golang.org/x/vuln v0.0.0-20220923181559-cbe0a6944b8b
go: downloading golang.org/x/tools v0.1.13-0.20220803210227-8b9a1fbdf5c3
go: downloading golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e
go: downloading golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
go: downloading golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f
/home/runner/work/_temp/e6b30d32-3608-470d-bda1-3fb466e96224.sh: line 11: cd: directory: No such file or directory
Error: Process completed with exit code 1.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.