Skip to content

chore(deps-dev): bump @dotenvx/dotenvx from 1.59.1 to 1.60.0 in the minor-and-patch group #9

chore(deps-dev): bump @dotenvx/dotenvx from 1.59.1 to 1.60.0 in the minor-and-patch group

chore(deps-dev): bump @dotenvx/dotenvx from 1.59.1 to 1.60.0 in the minor-and-patch group #9

Workflow file for this run

name: CodeQL 代码安全分析
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# 每周一 UTC 8:00(北京时间 16:00)自动扫描
- cron: "0 8 * * 1"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: CodeQL 分析 (${{ matrix.language }})
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
security-events: write
contents: read
strategy:
fail-fast: false
matrix:
language: [javascript-typescript, go]
include:
- language: go
build-command: cd backend && go build ./...
steps:
- name: 签出代码
uses: actions/checkout@v6
- name: 初始化 CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: 配置 Go
if: matrix.language == 'go'
uses: actions/setup-go@v6
with:
go-version-file: backend/go.mod
cache-dependency-path: backend/go.sum
- name: 构建 Go 代码
if: matrix.language == 'go'
run: ${{ matrix.build-command }}
- name: 执行 CodeQL 分析
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"