mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
42 lines
873 B
YAML
42 lines
873 B
YAML
name: "Code Scanning - Action"
|
|
|
|
permissions:
|
|
security-events: write
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
schedule:
|
|
- cron: '0 0 * * 0'
|
|
|
|
jobs:
|
|
CodeQL-Build:
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
|
|
|
|
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v2
|
|
# Override language selection by uncommenting this and choosing your languages
|
|
# with:
|
|
# languages: go, javascript, csharp, python, cpp, java
|
|
|
|
- name: Manual build
|
|
run : |
|
|
./dev.sh layout Release linux-x64
|
|
working-directory: src
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v2
|