pull/4790/head
Dmitry Salakhov 2021-02-09 16:12:51 +13:00 committed by oscarzhou
parent 9a32718db6
commit d72571b2f8
1 changed files with 4 additions and 6 deletions

View File

@ -79,11 +79,9 @@ jobs:
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: check url
run: echo "https://github.com/sonatype-nexus-community/nancy/releases/download/$NANCY_VERSION/nancy-$NANCY_VERSION-linux-amd64"
- name: test download
run: curl -s -L "https://github.com/sonatype-nexus-community/nancy/releases/download/$NANCY_VERSION/nancy-$NANCY_VERSION-linux-amd64" -v
- name: Cd to Go project
run: cd api
- name: Get Nancy binary
run: curl -s -L "https://github.com/sonatype-nexus-community/nancy/releases/download/$NANCY_VERSION/nancy-$NANCY_VERSION-linux-amd64" -o "/tmp/tools/nancy"
run: curl -L "https://github.com/sonatype-nexus-community/nancy/releases/download/$NANCY_VERSION/nancy-$NANCY_VERSION-linux-amd64" -o nancy
- name: Scan modules
run: cd api && go list -json -m all | /tmp/tools/nancy sleuth
run: go list -json -m all | ./nancy sleuth