Skip to content

Call optionally cbuild2cmake instead of cbuildgen #87

Call optionally cbuild2cmake instead of cbuildgen

Call optionally cbuild2cmake instead of cbuildgen #87

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths:
- '.github/workflows/codeql.yml'
- 'cmd/**'
- 'pkg/**'
- 'test/**'
- 'go.mod'
- 'go.sum'
- 'makefile'
- '!**/*.md'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Initialize CodeQL
uses: github/codeql-action/init@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
with:
languages: go
queries: security-and-quality
- name: Build executables
run: |
go build ./cmd/cbuild
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0