Files
beacon-server/.github/workflows/codeql.yml
T
Enot (ded) Skelly db975fe201 fix: temp disable codeql
not available on free private repos
2026-06-08 16:48:56 -07:00

40 lines
828 B
YAML

# Copyright 2026 Beacon Contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: CodeQL
on:
push:
branches: [main, dev]
pull_request:
schedule:
- cron: '0 8 * * 1' # every Monday at 08:00 UTC
jobs:
analyze:
if: false # remove after public release and enabled on repo
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
- name: Build
run: go build ./...
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3