File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,10 +33,12 @@ jobs:
3333 with :
3434 ruby-version : ' 3.0'
3535
36- - name : Build Ruby project for scanning
36+ - name : Install published package for scanning
3737 run : |
38- bundle config set --local path 'vendor/bundle'
39- bundle install
38+ mkdir -p scan-target && cd scan-target
39+ echo 'source "https://rubygems.org"' > Gemfile
40+ echo 'gem "aws-xray-sdk"' >> Gemfile
41+ bundle install --path vendor/bundle
4042
4143 - name : Install Java for dependency scan
4244 uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
7072 curl -Ls "https://github.com/dependency-check/DependencyCheck/releases/download/v$VERSION/dependency-check-$VERSION-release.zip.asc" --output dependency-check.zip.asc
7173 gpg --verify dependency-check.zip.asc
7274 unzip dependency-check.zip
73- ./dependency-check/bin/dependency-check.sh --enableExperimental --failOnCVSS 0 --nvdApiKey ${{ env.NVD_API_KEY_NVD_API_KEY }} --ossIndexUsername ${{ env.OSS_INDEX_USERNAME }} --ossIndexPassword ${{ env.OSS_INDEX_PASSWORD }} -s ". "
75+ ./dependency-check/bin/dependency-check.sh --enableExperimental --failOnCVSS 0 --nvdApiKey ${{ env.NVD_API_KEY_NVD_API_KEY }} --ossIndexUsername ${{ env.OSS_INDEX_USERNAME }} --ossIndexPassword ${{ env.OSS_INDEX_PASSWORD }} -s "scan-target/ "
7476
7577 - name : Print dependency scan results on failure
7678 if : ${{ steps.dep_scan.outcome != 'success' }}
You can’t perform that action at this time.
0 commit comments