Skip to content

Merge branch 'main' into SAC-24-Event-CRUD #63

Merge branch 'main' into SAC-24-Event-CRUD

Merge branch 'main' into SAC-24-Event-CRUD #63

Workflow file for this run

name: CLI CodeQL
on:
push:
paths:
- "cli/**"
- ".github/workflows/cli_codeql.yml"
pull_request:
types: opened
paths:
- "cli/**"
- ".github/workflows/cli_codeql.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.21"
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: "go"
queries: security-and-quality
- name: Build
run: |
cd ./cli/ && go build -o cli main.go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:go"