Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- main
- feature/**
- bugfix/**
pull_request:
types: [opened, synchronize, reopened]
jobs:
Expand All @@ -13,6 +15,17 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: db* CODECOP Issues
run: |
export COP=4.3.0
export VALIDATOR=4.3.0
wget https://github.com/Trivadis/plsql-cop-cli/releases/download/v$COP/tvdcc-$COP.zip
unzip tvdcc-$COP.zip -d .
wget -P tvdcc-$COP/plugin/ https://github.com/Trivadis/plsql-cop-validators/releases/download/v$VALIDATOR/sonar-plsql-cop-custom-validators-plugin-$VALIDATOR.jar
echo $TVDCC_LIC | base64 -d > tvdcc-$COP/tvdcc.lic
tvdcc-$COP/tvdcc.sh path=docs skip=none html=false excel=false validator=com.trivadis.tvdcc.validators.TrivadisGuidelines3Plus
env:
TVDCC_LIC: ${{ secrets.TVDCC_LIC }}
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sonar.sources=docs
#sonar.sourceEncoding=UTF-8

# File in Genric Issue Import Format produced by db* CODECOP CLI
#sonar.externalIssuesReportPaths=tvdcc_report.json
sonar.externalIssuesReportPaths=tvdcc_report.json

# Change the default list of suffixes for the SonarPLSQL plugin in https://sonarcloud.io
sonar.plsql.file.suffixes=md