Skip to content

CI (pull_request) PR#8 #78

CI (pull_request) PR#8

CI (pull_request) PR#8 #78

Workflow file for this run

name: CI
run-name: >
CI (${{ github.event_name }})
${{ github.event_name == 'pull_request' && format('PR#{0}', github.event.number) || '' }}
on:
workflow_dispatch:
pull_request:
branches: [ main ]
push:
branches: [ main ]
schedule:
- cron: 0 0 * * 3
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
with:
mask-experimental: ${{ github.event_name == 'push' }}
docs:
name: 📘 docs
needs: [ pre-commit ]
uses: ./.github/workflows/step_docs.yaml
coverage:
name: 👀 coverage
needs: [ tests ]
uses: ./.github/workflows/step_coverage.yaml
if: github.event_name != 'schedule'
static-analysis:
needs: [ pre-commit ]
uses: ./.github/workflows/step_static-analysis.yaml

Check failure on line 45 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: 45, Col: 11): Error from called workflow LecrisUT/CMake-Template/.github/workflows/step_static-analysis.yaml@0dce28aa65f46ad1b56c1155d5da117d51683274 (Line: 14, Col: 14): Unexpected value ''
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
if: github.event_name != 'schedule'
pass:
name: ✅ Pass
needs: [ pre-commit, tests, coverage, docs, static-analysis ]
runs-on: ubuntu-latest
steps:
- name: Check all CI jobs
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
allowed-skips: coverage, static-analysis
if: always()