Skip to content

Migrate to kubetest2 for CI #2

Migrate to kubetest2 for CI

Migrate to kubetest2 for CI #2

name: "Dependency Review"
on:
pull_request:
branches:
- "main"
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/dependency-review-action@v4
gosec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version: '1.21.6'
- run: go install github.com/securego/gosec/v2/cmd/gosec@latest
- run: gosec -exclude-generated ./...
working-directory: nodeadm
govulncheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: golang/govulncheck-action@v1
with:
go-version-input: 1.21.6
work-dir: ./nodeadm
go-version-file: nodeadm/go.mod
cache: false
repo-checkout: false