feat: update kubebuilder scaffold to v4.4.0 #45
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: Lint | |
on: | |
pull_request: | |
jobs: | |
lint: | |
name: Run on Ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone the code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Run linter | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.63.4 | |
scan: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- uses: actions/[email protected] | |
- uses: securego/[email protected] | |
with: | |
args: "-no-fail -fmt sarif -out results.sarif ./..." | |
- uses: github/codeql-action/[email protected] | |
with: | |
sarif_file: results.sarif |