Bump System.Text.Json from 6.0.0 to 8.0.4 in /src/Dahomey.Json #213
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: Build and Test | |
on: | |
push: | |
paths: | |
- 'src/**' | |
- '.github/workflows/**' | |
branches: | |
- '**' | |
tags-ignore: | |
- '*.*.*' | |
pull_request: | |
paths: | |
- 'src/**' | |
- '.github/workflows/**' | |
branches: | |
- '**' | |
tags-ignore: | |
- '*.*.*' | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: setup .net core 3.1.415 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.415 | |
- name: setup .net core 5.0.403 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.403 | |
- name: setup .net core 6.0.100 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.100 | |
# workaround for using multiple dotnet core installs | |
- name: setup multiple sdks | |
run: | | |
rsync -a ${DOTNET_ROOT/6.0.100/3.1.415}/* $DOTNET_ROOT/ | |
rsync -a ${DOTNET_ROOT/6.0.100/5.0.403}/* $DOTNET_ROOT/ | |
dotnet --info | |
- name: build | |
run: dotnet build -c Release src/Dahomey.Json | |
- name: test | |
run: dotnet test -c Release src/Dahomey.Json.Tests |