.forgejo/workflows/nyxscanner.yml aktualisiert
Some checks failed
NYX Security Scan / nyx-scan (pull_request) Failing after 41s
Some checks failed
NYX Security Scan / nyx-scan (pull_request) Failing after 41s
This commit is contained in:
parent
56ba11d717
commit
7d874842e1
1 changed files with 12 additions and 16 deletions
|
|
@ -6,25 +6,21 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nyx-scan:
|
nyx-scan:
|
||||||
runs-on: docker-amd64 # eine Architektur reicht für SAST
|
runs-on: docker-amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout target repo
|
- name: Checkout PR
|
||||||
uses: actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout nyx from Forgejo mirror
|
- name: Clone nyx from Forgejo mirror
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
with:
|
git clone --depth=1 --branch master \
|
||||||
repository: apunkt/nyx
|
https://bitfreedom.net/code/apunkt/nyx .nyx-src
|
||||||
# URL deiner Forgejo-Instanz:
|
|
||||||
server_url: https://deine-forgejo-instanz.example.com
|
|
||||||
ref: master
|
|
||||||
path: .nyx-src
|
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
run: |
|
||||||
with:
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
|
||||||
toolchain: stable
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Build nyx from source
|
- name: Build nyx from source
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -36,9 +32,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
nyx scan --format sarif --fail-on MEDIUM > nyx-results.sarif
|
nyx scan --format sarif --fail-on MEDIUM > nyx-results.sarif
|
||||||
|
|
||||||
- name: Upload results
|
- name: Upload SARIF results
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: https://code.forgejo.org/actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: nyx-sarif-report
|
name: nyx-sarif-report
|
||||||
path: nyx-results.sarif
|
path: nyx-results.sarif
|
||||||
Loading…
Add table
Add a link
Reference in a new issue