(#4) Replace Newtonsoft.Json
with System.Text.Json
#52
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: 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 |