We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1bfafd4 + 923e80b commit f81aaa0Copy full SHA for f81aaa0
.github/workflows/golangci-lint.yml
@@ -34,8 +34,11 @@ jobs:
34
- name: Install snmp_exporter/generator dependencies
35
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
36
if: github.repository == 'prometheus/snmp_exporter'
37
+ - name: Get golangci-lint version
38
+ id: golangci-lint-version
39
+ run: echo "version=$(make print-golangci-lint-version)" >> $GITHUB_OUTPUT
40
- name: Lint
41
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
42
with:
43
args: --verbose
- version: v2.2.1
44
+ version: ${{ steps.golangci-lint-version.outputs.version }}
0 commit comments