Bump Chainlink-relay to c686b4d48672d0eb818beafcff90ad4e33ea5db3 #50258
Workflow file for this run
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
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Set up Go | |
if: needs.changes.outputs.src == 'true' | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
id: go | |
- name: Write Go Modules list | |
if: needs.changes.outputs.src == 'true' | |
run: go list -json -m all > go.list | |
- name: Check vulnerabilities | |
if: needs.changes.outputs.src == 'true' | |
uses: sonatype-nexus-community/nancy-github-action@main | |
with: | |
nancyVersion: "v1.0.39" | |
- name: Collect Metrics | |
if: always() | |
id: collect-gha-metrics | |
uses: smartcontractkit/push-gha-metrics-action@d1618b772a97fd87e6505de97b872ee0b1f1729a # v2.0.2 | |
with: | |
basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} | |
hostname: ${{ secrets.GRAFANA_CLOUD_HOST }} | |
this-job-name: Go | |
continue-on-error: true |