Bump System.Text.Json from 4.7.1 to 8.0.4 in /src/AutoStep #77
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: AutoStep Build | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.100 | |
- name: Build with dotnet | |
run: dotnet build --configuration Release /p:TreatWarningsAsErrors=true | |
- name: Run tests | |
run: dotnet test --configuration Release --no-build | |
build-docs: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Docfx | |
uses: crazy-max/[email protected] | |
with: | |
# Arguments to pass to Chocolatey | |
args: install docfx -y | |
- name: Build Metadata | |
working-directory: docs | |
run: docfx metadata | |
- name: Build Docs | |
working-directory: docs | |
run: docfx build |