Skip to content

Commit

Permalink
Merge pull request #9 from evosys21/klodoma-patch-1
Browse files Browse the repository at this point in the history
Klodoma patch 1
  • Loading branch information
klodoma authored Oct 25, 2024
2 parents f40a06c + d05eab3 commit b5eec76
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
name: QA

on:
push:
branches:
- main

pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
- 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 }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# - uses: sonarsource/sonarqube-quality-gate-action@master
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
14 changes: 13 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
sonar.projectKey=phplib-test
sonar.projectKey=evosys21_pdflib
sonar.organization=evosys21

# This is the name and version displayed in the SonarCloud UI.
#sonar.projectName=pdflib
#sonar.projectVersion=1.0


# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
#sonar.sources=.

# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8

0 comments on commit b5eec76

Please sign in to comment.