Skip to content

Bump k8s.io/apimachinery from 0.25.4 to 0.31.3 #17

Bump k8s.io/apimachinery from 0.25.4 to 0.31.3

Bump k8s.io/apimachinery from 0.25.4 to 0.31.3 #17

Workflow file for this run

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