linux-native: only install linux native deps (#3510) #19
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: Flawfinder Scan | |
on: | |
push: | |
branches: [master, develop] | |
paths-ignore: | |
- "**.md" | |
- "version.properties" | |
jobs: | |
flawfinder: | |
runs-on: ubuntu-latest | |
name: Flawfinder | |
steps: | |
# step 1 | |
- name: clone application source code | |
uses: actions/checkout@v3 | |
# step 2 | |
- name: flawfinder_scan | |
uses: david-a-wheeler/[email protected] | |
with: | |
arguments: "--sarif ./" | |
output: "flawfinder_report.sarif" | |
# step 3 | |
- name: save report as pipeline artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: flawfinder_report.sarif | |
path: flawfinder_report.sarif | |
# step 4 | |
- name: publish code scanning alerts | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: flawfinder_report.sarif | |
category: flawfinder |