File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 6464 go-version-file : go.mod
6565 - name : Scan
6666 run : go run github.com/google/osv-scanner/v2/cmd/osv-scanner@latest scan --lockfile=go.mod || (( $? > 1 && $? < 127 ))
67+
68+ sonatype :
69+ if : github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository == 'hyperledger/fabric')
70+ runs-on : ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
71+ strategy :
72+ fail-fast : false
73+ matrix :
74+ ref :
75+ - main
76+ - release-2.5
77+ steps :
78+ - uses : actions/checkout@v4
79+ with :
80+ ref : ${{ matrix.ref }}
81+ - uses : actions/setup-go@v5
82+ with :
83+ go-version : 1.24.2
84+ - run : go list -json -deps ./... > go.list
85+ - uses : sonatype-nexus-community/nancy-github-action@v1.0.3
86+ # with:
87+ # nancyCommand: 'sleuth --exclude-vulnerability CVE-2023-42319,CVE-2022-37450'
You can’t perform that action at this time.
0 commit comments