Skip to content

Quality Checks of commit 9aee114c1540757c9b524bd8ec46c1f801d05db8 on main by primeare #35

Quality Checks of commit 9aee114c1540757c9b524bd8ec46c1f801d05db8 on main by primeare

Quality Checks of commit 9aee114c1540757c9b524bd8ec46c1f801d05db8 on main by primeare #35

Workflow file for this run

name: Quality Checks
run-name: ${{ github.workflow }} of commit ${{ github.sha }} on ${{ github.ref_name }} by ${{ github.actor }}
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
concurrency:
group: ${{ github.workflow }}-${{ 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:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- id: SonarCloud
name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
setup-and-test:
name: Setup workstation and test
strategy:
fail-fast: true
matrix:
os: [macos-12, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup workstation
run: ./setup
- name: Test setup
run: ./test