Skip to content

feat: add automated tests for bash scripts #4

feat: add automated tests for bash scripts

feat: add automated tests for bash scripts #4

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
---
name: "SonarCloud Scan"
on:
push:
paths-ignore:
- .github/**
- images/**
branches:
- main
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
sonarcloud:
name: "SonarCloud"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
if: ${{ env.SONAR_TOKEN }}