diff options
| author | Syndamia <kamen@syndamia.com> | 2024-08-13 15:56:13 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2024-08-13 15:56:13 +0300 |
| commit | f4af72eb7263e90ccd4f91c61a14a4ea77eb4994 (patch) | |
| tree | adb415e5d704aa1f2b365991807e919b48f98620 /.github | |
| parent | a17ba562e6bc3d84d2b1cc47c06cf46f61d8374b (diff) | |
| download | pico-web-f4af72eb7263e90ccd4f91c61a14a4ea77eb4994.tar pico-web-f4af72eb7263e90ccd4f91c61a14a4ea77eb4994.tar.gz pico-web-f4af72eb7263e90ccd4f91c61a14a4ea77eb4994.zip | |
feat(ci): Added SonarCloud testing
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0765ada..e538dab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: name: source-code path: . - SAST-Unit-tests: + Unit-tests: runs-on: ubuntu-latest needs: Clone-repo steps: @@ -25,7 +25,7 @@ jobs: path: . - run: make tests - SAST-clang: + clang-analysis: runs-on: ubuntu-latest needs: Clone-repo steps: @@ -46,9 +46,20 @@ jobs: - run: sudo apt-get install -y flawfinder - run: make security-analysis + SAST-SonarCloud: + runs-on: ubuntu-latest + steps: + - uses: actions/download-artifact@v3 + with: + name: source-code + path: . + - uses: SonarSource/sonarcloud-github-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + Build: runs-on: ubuntu-latest - needs: [ SAST-Unit-tests, SAST-clang, SAST-flawfinder ] + needs: [ Unit-tests, clang-analysis, SAST-flawfinder, SAST-SonarCloud ] steps: - uses: actions/download-artifact@v3 with: |
