Skip to content

Support TOML v1.0.0 #14

Support TOML v1.0.0

Support TOML v1.0.0 #14

Workflow file for this run

name: SonarCloud analysis
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
pull-requests: read
jobs:
sonar:
name: Analyze with SonarCloud
runs-on: ubuntu-latest
steps:
- name: Update code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
coverage: xdebug
tools: composer:v2
- name: Install dependencies
run: composer install
- name: Tests
run: vendor/bin/phpunit --coverage-clover=coverage.xml
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}