Quality Checks of 9488a03473f39b8dec3a3c05e01d5b2a983f43a4 on main #8
This file contains 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: Quality Checks | |
run-name: ${{ github.workflow }} of ${{ github.sha }} on ${{ github.ref_name }} | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
concurrency: | |
group: "${{ github.workflow }} at ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
actions: read | |
contents: read | |
steps: | |
- id: checkout | |
name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- id: sonarcloud | |
name: SonarCloud Scan | |
uses: sonarsource/sonarqube-scan-action@v4 | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
- id: shellcheck | |
name: Differential ShellCheck | |
uses: redhat-plumbers-in-action/differential-shellcheck@v5 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
setup-and-test: | |
name: Setup workstation and test | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [macos-13, macos-14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- id: checkout | |
name: Checkout code | |
uses: actions/checkout@v4 | |
- id: setup | |
name: Setup workstation | |
run: ./setup | |
- id: test | |
name: Test setup | |
run: ./test |