[GitHub CI] Update codeql.yml

This commit is contained in:
Connection Refused
2021-10-04 15:44:09 +08:00
parent b0df7fb859
commit 448db04103

View File

@@ -18,27 +18,6 @@ jobs:
language: [ 'go', 'cpp', 'csharp' ]
steps:
- name: Go
uses: actions/setup-go@v2
with:
go-version: 1.17.1
- name: C++
uses: msys2/setup-msys2@v2
with:
update: true
release: true
install: base-devel git mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-libevent mingw-w64-x86_64-pcre2 mingw-w64-x86_64-freetype mingw-w64-x86_64-libpng mingw-w64-x86_64-bzip2 mingw-w64-x86_64-openssl mingw-w64-x86_64-mbedtls mingw-w64-x86_64-libsodium mingw-w64-x86_64-c-ares mingw-w64-x86_64-boost mingw-w64-x86_64-libmariadbclient unzip p7zip
- name: Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
- name: MSBuild
uses: microsoft/setup-msbuild@v1.0.2
- name: Code QL
uses: github/codeql-action/init@v1
with:
@@ -47,10 +26,5 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Build
shell: pwsh
run: |
.\build.ps1
- name: Analyze
uses: github/codeql-action/analyze@v1