Simplify the structure of main() by putting parts of the code into separate functions #60
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
security-events: write | |
jobs: | |
style: | |
name: Code style check | |
uses: ./.github/workflows/code_style_check.yml | |
build: | |
name: Build | |
needs: | |
- style | |
uses: ./.github/workflows/build.yml | |
clang: | |
name: Clang Analyzer | |
needs: | |
- style | |
uses: ./.github/workflows/clang_analyzer.yml | |
sonarcloud: | |
name: SonarCloud Analyzer | |
needs: | |
- style | |
uses: ./.github/workflows/sonarcloud.yml | |
secrets: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |