Skip to content

(#4) Replace Newtonsoft.Json with System.Text.Json #46

(#4) Replace Newtonsoft.Json with System.Text.Json

(#4) Replace Newtonsoft.Json with System.Text.Json #46

Workflow file for this run

name: Build and Test
on:
push:
paths-ignore:
- 'cookiecutter.json' # Do not run .NET CI after editing cookiecutter.json (project setup in progress)
pull_request:
paths-ignore:
- 'cookiecutter.json' # Do not run .NET CI after editing cookiecutter.json (project setup in progress)
defaults:
run:
working-directory: src
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 📝 Fetch Sources
uses: actions/checkout@v3
- name: 🛠 Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: 🏗 Restore dependencies
run: dotnet restore
- name: 🏗 Build
run: dotnet build --no-restore
- name: 📝 Test ChromeProtocol.Runtime
run: dotnet test --no-build --verbosity normal ChromeProtocol.Runtime.Tests
- name: 📝 Test ChromeProtocol.Tools
run: dotnet test --no-build --verbosity normal ChromeProtocol.Tools.Tests