Skip to content

deps: Bump JsonSchema.Net from 9.2.2 to 9.3.0 (#483) #1669

deps: Bump JsonSchema.Net from 9.2.2 to 9.3.0 (#483)

deps: Bump JsonSchema.Net from 9.2.2 to 9.3.0 (#483) #1669

Workflow file for this run

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 }}