Re-add Sigrid URL argument #457
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: sigrid-pullrequest | |
on: [pull_request] | |
jobs: | |
sigridci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check out repository" | |
uses: actions/checkout@v3 | |
- name: "Special case: We use Sigrid CI on itself, so if we want its own code to be analyzed we need a copy" | |
run: "cp -r sigridci src" | |
- name: "Run Sigrid CI" | |
env: | |
SIGRID_CI_TOKEN: "${{ secrets.SIGRID_CI_TOKEN }}" | |
run: "./sigridci/sigridci.py --customer sig --system sigridci-client --source ." | |
- name: "Save Sigrid CI results" | |
if: ${{ success() || failure() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
path: "sigrid-ci-output/**" | |
retention-days: 7 | |
if-no-files-found: ignore |