[Updates 2/?] Fixed/Optimized: Slow Update Checks on Large Collections due to Small Oversights in Caching Strategy #2597
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: Validate NuGet packages | |
on: | |
schedule: | |
- cron: '0 9 * * *' | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/validate-nupkgs.yaml' | |
- '**.csproj' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/validate-nupkgs.yaml' | |
- '**.csproj' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- name: Setup .NET 9.x | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '9.x' | |
- name: Pack | |
run: dotnet pack | |
- name: Validate | |
shell: pwsh | |
run: ./scripts/validate-nupkgs.ps1 |