Dependency Check #868
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: 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 |