Skip to content

Dependency Check

Dependency Check #866

Workflow file for this run

name: Dependency Check
on:
workflow_dispatch:
schedule:
- cron: '0 5 * * *'
defaults:
run:
shell: pwsh
jobs:
Dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
show-progress: false
fetch-depth: 1
- name: Setup dotnet (pinned)
uses: actions/setup-dotnet@v4
with:
global-json-file: ./global.json
- name: Check project dependencies
id: dependencies
uses: mawosoft/dotnet-dependency-alert@v1
- name: Check tool dependencies
id: tooldependencies
run: ./build/checkToolDependencies.ps1 -Token (ConvertTo-SecureString ${{ secrets.GITHUB_TOKEN }} -AsPlainText)
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ steps.tooldependencies.outputs.ArtifactName }}
path: ${{ steps.tooldependencies.outputs.ArtifactPath }}
retention-days: 5