Skip to content

Commit 2418af5

Browse files
authored
Update common Prometheus files (#416)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
1 parent b7fa4e6 commit 2418af5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/govulncheck.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ jobs:
2020
runs-on: ubuntu-latest
2121
name: Run govulncheck
2222
steps:
23+
- name: Install snmp_exporter/generator dependencies
24+
id: snmp-deps
25+
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
26+
if: github.repository == 'prometheus/snmp_exporter'
2327
- id: govulncheck
24-
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
28+
uses: golang/govulncheck-action@3fa7bd9cee2cfdf3499a8803b226e43de7b7cdb4 # master
2529
env:
2630
GOOS: ${{ contains(github.repository, 'windows_exporter') && 'windows' || '' }}

0 commit comments

Comments
 (0)