Bump k8s.io/client-go from 0.25.4 to 0.31.3 #19
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: Linting | |
on: | |
pull_request: | |
jobs: | |
tools: | |
name: Get Tool tool-versions | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Code | |
uses: actions/checkout@v3 | |
- uses: goplugin/[email protected] | |
id: tool-versions | |
outputs: | |
golangci-lint-version: ${{ steps.tool-versions.outputs.golangci-lint_version }} | |
golangci: | |
name: Linting | |
runs-on: ubuntu-latest | |
needs: [tools] | |
steps: | |
- name: Check out Code | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: "go.mod" | |
check-latest: true | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v${{ needs.tools.outputs.golangci-lint-version }} | |
vulnerabilities-check: | |
name: Check for Vulnerabilities | |
runs-on: ubuntu-latest | |
needs: [tools] | |
steps: | |
- name: Check out Code | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: "go.mod" | |
check-latest: true | |
- name: Write Go List | |
run: go list -json -deps ./... > go.list | |
- name: Nancy | |
uses: sonatype-nexus-community/nancy-github-action@main |