chore: remove go:generate and add code gen to dockerfile (#345) #535
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: "CodeQL" | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
schedule: | |
- cron: '20 08 * * 1' | |
jobs: | |
codeql: | |
uses: cloudoperators/common/.github/workflows/shared-codeql.yaml@main | |
permissions: | |
security-events: write | |
actions: read | |
contents: read | |
with: | |
runs-on: "['default']" | |
language: "['go']" | |
go-check: true | |
go-version: "['1.22']" | |
node-check: false | |
# node-version : "['node']" | |
fail-fast: false | |
# timeout: 30 | |
autobuild: false | |
build_query: "go install github.com/vektra/mockery/[email protected] && make build-binary" |