Fixed broken SonarCloud-CI. (#1272)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user