1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-13 18:00:58 +08:00

perf(CI): 简化流水线校验流程

This commit is contained in:
142vip.cn
2023-10-27 16:13:25 +08:00
committed by GitHub
parent 9202226025
commit 15a69a2c94
8 changed files with 99 additions and 60 deletions

View File

@@ -1,7 +1,7 @@
name: CodeQL
on:
push:
# push:
pull_request:
branches:
- next
@@ -13,22 +13,23 @@ jobs:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language:
- javascript
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-extended
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
languages: javascript
- name: Auto Build
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis