mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 13:14:29 +02:00
ci: CodeQL fixed
This commit is contained in:
8
.github/workflows/codeql-analysis.yml
vendored
8
.github/workflows/codeql-analysis.yml
vendored
@@ -51,14 +51,14 @@ jobs:
|
|||||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
# 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)
|
# If this step fails, then you should remove it and run the build manually (see below)
|
||||||
- name: Autobuild
|
- name: Autobuild
|
||||||
if: ${{ matrix.language }} != 'cpp'
|
if: matrix.language != 'cpp'
|
||||||
uses: github/codeql-action/autobuild@v1
|
uses: github/codeql-action/autobuild@v1
|
||||||
|
|
||||||
# ℹ️ Command-line programs to run using the OS shell.
|
# ℹ️ Command-line programs to run using the OS shell.
|
||||||
# 📚 https://git.io/JvXDl
|
# 📚 https://git.io/JvXDl
|
||||||
|
|
||||||
- name: Cache Conan data
|
- name: Cache Conan data
|
||||||
if: ${{ matrix.language }} == 'cpp'
|
if: matrix.language == 'cpp'
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
env:
|
env:
|
||||||
cache-name: cache-conan-data
|
cache-name: cache-conan-data
|
||||||
@@ -70,12 +70,12 @@ jobs:
|
|||||||
${{ runner.os }}-build-
|
${{ runner.os }}-build-
|
||||||
${{ runner.os }}-
|
${{ runner.os }}-
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
if: ${{ matrix.language }} == 'cpp'
|
if: matrix.language == 'cpp'
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
- name: Conan build
|
- name: Conan build
|
||||||
if: ${{ matrix.language }} == 'cpp'
|
if: matrix.language == 'cpp'
|
||||||
run: |
|
run: |
|
||||||
pip install -U conan
|
pip install -U conan
|
||||||
conan config init
|
conan config init
|
||||||
|
Reference in New Issue
Block a user