-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/close-invoke-race
- Loading branch information
Showing
33 changed files
with
1,416 additions
and
422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Dependency Vulnerability Check | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
changes: | ||
name: Detect changes | ||
runs-on: ubuntu-latest | ||
outputs: | ||
changes: ${{ steps.changes.outputs.src }} | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1 | ||
id: changes | ||
with: | ||
filters: | | ||
src: | ||
- '**/*go.sum' | ||
- '**/*go.mod' | ||
- '.github/workflows/dependency-check.yml' | ||
Go: | ||
runs-on: ubuntu-latest | ||
needs: [changes] | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version-file: 'go.mod' | ||
id: go | ||
|
||
- name: Write Go Modules list | ||
run: go list -json -m all > go.list | ||
|
||
- name: Check vulnerabilities | ||
uses: sonatype-nexus-community/nancy-github-action@main | ||
with: | ||
nancyVersion: "v1.0.42" | ||
|
||
- name: Collect Metrics | ||
if: always() | ||
id: collect-gha-metrics | ||
uses: smartcontractkit/push-gha-metrics-action@90fcbaac8ebf86da9c4d55dba24f6fe3029f0e0b | ||
with: | ||
basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} | ||
hostname: ${{ secrets.GRAFANA_CLOUD_HOST }} | ||
this-job-name: Go | ||
continue-on-error: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,8 @@ | |
|
||
# Editors | ||
.vscode | ||
|
||
# Test & linter reports | ||
*report.xml | ||
*report.json | ||
*.out |
Oops, something went wrong.