Skip to content

added security file #12

added security file

added security file #12

Workflow file for this run

name: Source Composition Analysis Scan
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
security-sca:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Install dependencies
run: dart pub get
- name: Check for outdated dependencies
run: dart pub outdated --json > outdated.json || true
- name: Run OSV Scanner for vulnerabilities
uses: google/osv-scanner-action@v1
with:
scan-args: |-
--lockfile=pubspec.lock
- name: Display outdated packages
if: always()
run: |
echo "Checking for outdated packages..."
dart pub outdated || true