chore(deps): Bump the nuget-dependencies group with 17 updates #696
This file contains hidden or 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: "Development" | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| - reopened | |
| workflow_call: | |
| inputs: | |
| configuration: | |
| description: "The build configuration" | |
| required: true | |
| type: string | |
| default: "Release" | |
| release-version: | |
| description: "The release version" | |
| required: true | |
| type: string | |
| env: | |
| CONFIGURATION: ${{ github.event.inputs.configuration || 'Release' }} | |
| RELEASE_VERSION: ${{ github.event.inputs.release-version }} | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: "10.0.x" | |
| # TEMPORARILY DISABLED: Cache causing NU1403 errors with FSharp.Core.10.0.101 | |
| # Re-enable once cache is stable | |
| # - uses: actions/cache@v5 | |
| # with: | |
| # path: ~/.nuget/packages | |
| # key: ${{ runner.os }}-nuget-v2-${{ hashFiles('**/packages.lock.json') }} | |
| # restore-keys: | | |
| # ${{ runner.os }}-nuget-v2 | |
| - name: Restore dependencies (ignoring lock files due to FSharp.Core NU1403) | |
| run: DOTNET_RESTORE_LOCKED_MODE=false ./build.sh --target Restore | |
| - name: Check code formatting | |
| run: ./build.sh --target Lint | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6.0.1 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: "10.0.x" | |
| # TEMPORARILY DISABLED: Cache causing NU1403 errors with FSharp.Core.10.0.101 | |
| # Re-enable once cache is stable | |
| # - uses: actions/cache@v5 | |
| # with: | |
| # path: ~/.nuget/packages | |
| # key: ${{ runner.os }}-nuget-v2-${{ hashFiles('**/packages.lock.json') }} | |
| # restore-keys: | | |
| # ${{ runner.os }}-nuget-v2 | |
| - name: Restore dependencies (ignoring lock files due to FSharp.Core NU1403) | |
| shell: bash | |
| run: DOTNET_RESTORE_LOCKED_MODE=false ./build.sh --target Restore | |
| - name: Build | |
| shell: bash | |
| run: ./build.sh --target Compile --configuration ${{ env.CONFIGURATION }} | |
| - name: Run tests | |
| shell: bash | |
| run: ./build.sh --target Test --configuration ${{ env.CONFIGURATION }} | |
| - name: Pack packages for build testing | |
| shell: bash | |
| run: ./build.sh --target PackAll --configuration ${{ env.CONFIGURATION }} | |
| - name: Run build tests | |
| shell: bash | |
| run: ./build.sh --target TestBuild --configuration ${{ env.CONFIGURATION }} | |
| ci: | |
| runs-on: ubuntu-latest | |
| needs: [lint, test] | |
| steps: | |
| - uses: actions/checkout@v6.0.1 | |
| - name: Aggregate of lint, and all tests | |
| run: echo "ci passed" |