diff --git a/.github/workflows/quality-scan.yml b/.github/workflows/quality-scan.yml index 685e5ee09..abb87be33 100644 --- a/.github/workflows/quality-scan.yml +++ b/.github/workflows/quality-scan.yml @@ -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