Bump System.Text.Json from 8.0.4 to 8.0.5 in /src/SharpGLTF.Core #75
Workflow file for this run
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: Test project on commit and pull requests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
steps: | |
- name: net48 on windows | |
if: runner.os == 'Windows' | |
run: choco install netfx-4.8 --ignore-checksums | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '6.x' | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.x' | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
# https://github.com/dotnet/core/issues/7840 failed to build with 0 errors | |
run: dotnet build --configuration Debug --no-restore --disable-build-servers | |
- name: Test net48 | |
if: runner.os == 'Windows' | |
run: dotnet test ./tests/SharpGLTF.Ext.3DTiles.Tests/SharpGLTF.Ext.3DTiles.Tests.csproj --framework net48 --no-build | |
- name: Test net6 | |
run: dotnet test ./tests/SharpGLTF.Ext.3DTiles.Tests/SharpGLTF.Ext.3DTiles.Tests.csproj --framework net6 --no-build | |
- name: Test net8 | |
run: dotnet test ./tests/SharpGLTF.Ext.3DTiles.Tests/SharpGLTF.Ext.3DTiles.Tests.csproj --framework net8 --no-build |