moved codacy workflow check to every step
All checks were successful
Codacy Scan / Codacy Security Scan (push) Successful in 11s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Successful in 2m37s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Successful in 2m39s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 3m7s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 3m20s

crazy
This commit is contained in:
Václav Šmejkal 2025-01-09 20:00:47 +01:00
parent 24e5d1b8c2
commit 3afe9f0d4c
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -31,7 +31,6 @@ env:
jobs: jobs:
codacy-security-scan: codacy-security-scan:
if: env.bramborak == 'ted jsem tam mel jednu slapku' # Ensure this job runs only on GitHub
permissions: permissions:
contents: read contents: read
security-events: write security-events: write
@ -39,10 +38,12 @@ jobs:
name: Codacy Security Scan name: Codacy Security Scan
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - if: env.bramborak == 'ted jsem tam mel jednu slapku' # Ensure this runs only on GitHub
name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Run Codacy Analysis - if: env.bramborak == 'ted jsem tam mel jednu slapku' # Ensure this runs only on GitHub
name: Run Codacy Analysis
uses: codacy/codacy-analysis-cli-action@master uses: codacy/codacy-analysis-cli-action@master
with: with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
@ -52,7 +53,8 @@ jobs:
gh-code-scanning-compat: true gh-code-scanning-compat: true
max-allowed-issues: 2147483647 max-allowed-issues: 2147483647
- name: Upload results file - if: env.bramborak == 'ted jsem tam mel jednu slapku' # Ensure this runs only on GitHub
name: Upload results file
uses: github/codeql-action/upload-sarif@v2 uses: github/codeql-action/upload-sarif@v2
with: with:
sarif_file: results.sarif sarif_file: results.sarif