Delete .github/workflows/codeql.yml

Signed-off-by: Shuke <272197458+ShukeBta@users.noreply.github.com>
This commit is contained in:
Shuke
2026-06-15 01:05:44 +08:00
committed by GitHub
parent 406b311a8e
commit 93afa1aebb
-70
View File
@@ -1,70 +0,0 @@
name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '22 19 * * 1'
permissions:
contents: read
security-events: write
jobs:
analyze-scripted:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [actions, javascript-typescript]
steps:
- uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: /language:${{ matrix.language }}
analyze-go:
name: Analyze Go (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
category: /language:go-linux-tests
- os: windows-latest
category: /language:go-windows-tests
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.25'
cache: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
build-mode: manual
config-file: ./.github/codeql/codeql-config.yml
- name: Compile packages and tests for extraction
shell: bash
run: go test -run '^$' ./...
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: ${{ matrix.category }}