Skip to content

Implement CMake project #16

Implement CMake project

Implement CMake project #16

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
branches: [ main ]
push:
branches: [ main ]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
uses: ./.github/workflows/step_pre-commit.yaml
tests:
needs: [ pre-commit ]
uses: ./.github/workflows/step_test.yaml

Check failure on line 23 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci.yaml (Line: 23, Col: 11): Error from called workflow LecrisUT/CMake-Template/.github/workflows/step_test.yaml@4df02fdf8652ded6de2a2fe624b7f821dab96389 (Line: 44, Col: 13): Unexpected symbol: '"Linux"'. Located at position 14 within expression: runner.os == "Linux" In .github/workflows/ci.yaml (Line: 23, Col: 11): Error from called workflow LecrisUT/CMake-Template/.github/workflows/step_test.yaml@4df02fdf8652ded6de2a2fe624b7f821dab96389 (Line: 49, Col: 13): Unexpected symbol: '"Linux"'. Located at position 14 within expression: runner.os == "Linux"
static-analysis:
needs: [ pre-commit ]
uses: ./.github/workflows/step_static-analysis.yaml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
pass:
needs: [ pre-commit, tests, static-analysis ]
runs-on: ubuntu-latest
steps:
- name: Check all CI jobs
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
if: always()