Fixed broken SonarCloud-CI. (#1272)

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni
2021-08-08 16:59:36 +02:00
committed by GitHub
parent 3706267d68
commit 8e996f7f7c
+8 -5
View File
@@ -13,8 +13,11 @@ jobs:
- uses: actions/checkout@v2
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 }}
- name: Install dependencies
run: sudo apt-get install libpcap-dev libjson-c-dev libgcrypt20-dev
- name: Configure
run: ./autogen.sh
- name: Build
run: make all
- name: Test
run: ./tests/do.sh