Update dependency Newtonsoft.Json to 13.0.3 #825
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: Main workflow | |
on: [push, pull_request] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
ci: | |
# The type of runner that the job will run on | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Setup dotnet 3.0.100 | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: "3.1.100" # SDK Version to use. | |
- name: Setup dotnet 5.0.x | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: "5.0.x" # SDK Version to use (x uses the latest version). | |
- name: Setup dotnet 6.0.x | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: "6.0.x" # SDK Version to use (x uses the latest version). | |
- name: Setup dotnet 7.0.x | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: "7.0.x" # SDK Version to use (x uses the latest version). | |
# dotnet restore | |
- name: restore | |
run: dotnet restore | |
# dotnet build and publish | |
- name: Build with dotnet | |
run: dotnet build --configuration Release | |
# dotnet test | |
- name: test | |
run: dotnet test |