Update .gitea/workflows/sonarqube_scans.yml
Some checks failed
CI / build-test (push) Failing after 1m40s
Some checks failed
CI / build-test (push) Failing after 1m40s
This commit is contained in:
@@ -1,24 +1,14 @@
|
|||||||
on:
|
name: CI
|
||||||
push:
|
|
||||||
branches:
|
on: [push]
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
|
|
||||||
name: SonarQube Scan
|
|
||||||
jobs:
|
jobs:
|
||||||
sonarqube:
|
build-test:
|
||||||
name: SonarQube Trigger
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checking out
|
- uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v4
|
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
|
||||||
with:
|
- uses: php-actions/composer@v6
|
||||||
fetch-depth: 0
|
- run: echo "Composer dependencies have been installed"
|
||||||
- name: SonarQube Scan
|
- run: vendor/bin/phpunit
|
||||||
uses: https://code.caldwell.digital/tools/sonarqube-action@v0.0.3
|
|
||||||
with:
|
|
||||||
host: "https://qube.caldwell.digital"
|
|
||||||
login: ${{ secrets.SONARQUBE_TOKEN }}
|
|
||||||
projectName: "torsearch"
|
|
||||||
projectBaseDir: "./src"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user