Skip to content

Commit 60d61e5

Browse files
committed
Fixing Coverity conditions
1 parent ba4aa07 commit 60d61e5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/coverity-scan.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,30 @@ jobs:
3232
fi
3333
fi
3434
- name: Install dependencies
35-
if: ${{ env.REPO_ALIVE == 'true' }} == 'true'
35+
if: ${{ env.REPO_ALIVE == 'true' }}
3636
run: |
3737
sudo apt-fast update
3838
sudo apt-fast install -y libboost-all-dev
3939
- name: Download Coverity Build Tool
40-
if: ${{ env.REPO_ALIVE == 'true' }} == 'true'
40+
if: ${{ env.REPO_ALIVE == 'true' }}
4141
run: |
4242
wget -q https://scan.coverity.com/download/Linux --post-data "token=$TOKEN&project=$PROJ" -O /tmp/cov-analysis-linux64.tar.gz
4343
mkdir /tmp/cov-analysis-linux64
4444
tar xzf /tmp/cov-analysis-linux64.tar.gz --strip 1 -C /tmp/cov-analysis-linux64
4545
- name: Checkout code
46-
if: ${{ env.REPO_ALIVE == 'true' }} == 'true'
46+
if: ${{ env.REPO_ALIVE == 'true' }}
4747
uses: actions/checkout@master
4848
- name: Configure
49-
if: ${{ env.REPO_ALIVE == 'true' }} == 'true'
49+
if: ${{ env.REPO_ALIVE == 'true' }}
5050
run: |
5151
cmake -S . -B build -G 'Unix Makefiles'
5252
- name: Build with cov-build
53-
if: ${{ env.REPO_ALIVE == 'true' }} == 'true'
53+
if: ${{ env.REPO_ALIVE == 'true' }}
5454
run: |
5555
export PATH=/tmp/cov-analysis-linux64/bin:$PATH
5656
cov-build --dir cov-int cmake --build build -j2
5757
- name: Submit the result to Coverity Scan
58-
if: ${{ env.REPO_ALIVE == 'true' }} == 'true'
58+
if: ${{ env.REPO_ALIVE == 'true' }}
5959
run: |
6060
tar czvf $FILE cov-int
6161
curl \

0 commit comments

Comments
 (0)