Skip to content

Commit

Permalink
Add action
Browse files Browse the repository at this point in the history
  • Loading branch information
spiegel-im-spiegel committed Sep 29, 2020
1 parent 14452a7 commit 4fa204a
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 20 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/vulns.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: vulns
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
vulns:
name: Vulnerability scanner
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ^1.13
- name: WriteGoList
run: go list -json -m all > go.list
- name: Nancy
uses: sonatype-nexus-community/nancy-github-action@main
4 changes: 4 additions & 0 deletions clean-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
rm ./go.sum
go clean -cache
go clean -modcache
9 changes: 7 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ require (
github.com/PuerkitoBio/goquery v1.5.1
github.com/atotto/clipboard v0.1.2
github.com/mattn/go-encoding v0.0.2
github.com/spf13/cobra v1.0.0
github.com/spf13/cobra v1.0.1-0.20200923222621-0bc8bfbe596b
github.com/spiegel-im-spiegel/errs v1.0.0
github.com/spiegel-im-spiegel/gocli v0.10.1
github.com/spiegel-im-spiegel/gprompt v0.9.6
golang.org/x/net v0.0.0-20200707034311-ab3426394381
golang.org/x/net v0.0.0-20200927032502-5d4f70055728
)

replace (
github.com/coreos/etcd v3.3.13+incompatible => github.com/coreos/etcd v3.3.25+incompatible
github.com/spf13/viper v1.7.0 => github.com/spf13/viper v1.7.1
)
Loading

0 comments on commit 4fa204a

Please sign in to comment.