deps: Bump JsonSchema.Net from 9.2.2 to 9.3.0 (#483) #1669
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: Build and Test | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| configuration: [Debug, Release] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | |
| - name: Setup .NET π€ | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 10.0.x | |
| 9.0.x | |
| # Netfx testing on non-Windows OSes requires mono | |
| - name: Setup Mono π | |
| if: runner.os == 'Linux' | |
| run: sudo apt-get install -y mono-devel | |
| - name: Setup Mono on macOS π | |
| if: runner.os == 'macOS' | |
| run: brew install mono | |
| - name: Build ποΈ | |
| run: make build CONFIGURATION=${{ matrix.configuration }} | |
| - name: Test π§ͺ | |
| run: make test CONFIGURATION=${{ matrix.configuration }} | |
| env: | |
| VSTEST_CONNECTION_TIMEOUT: 1800000 | |
| - name: Check AOT size π | |
| if: matrix.configuration == 'Release' | |
| run: make test-aot-size CONFIGURATION=${{ matrix.configuration }} | |
| - name: Pack π¦ | |
| if: matrix.configuration == 'Release' | |
| run: make pack CONFIGURATION=${{ matrix.configuration }} | |
| - name: Generate docs π | |
| if: matrix.configuration == 'Release' | |
| run: make generate-docs CONFIGURATION=${{ matrix.configuration }} | |
| - name: Upload artifacts π | |
| if: runner.os == 'Linux' && matrix.configuration == 'Release' && github.ref == 'refs/heads/main' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: build-artifacts | |
| path: artifacts/ | |
| - name: Upload to Codecov π | |
| uses: codecov/codecov-action@v7 | |
| if: runner.os == 'Linux' && matrix.configuration == 'Release' | |
| with: | |
| files: artifacts/testResults/*/*.cobertura.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Publish CI packages to GitHub π | |
| if: runner.os == 'Linux' && matrix.configuration == 'Release' && github.event_name == 'push' | |
| run: make push NUGET_SOURCE=https://nuget.pkg.github.com/eiriktsarpalis/index.json NUGET_API_KEY=${{ secrets.GITHUB_TOKEN }} | |
| - name: Publish CI packages to Feedz.io π | |
| if: runner.os == 'Linux' && matrix.configuration == 'Release' && github.event_name == 'push' | |
| run: make push NUGET_SOURCE=https://f.feedz.io/eiriktsarpalis/polytype/nuget/index.json NUGET_API_KEY=${{ secrets.FEEDZ_IO_KEY }} |