Update README.md (#393) #774
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: .NET | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 9.0.100 | |
- name: Restore dependencies | |
run: dotnet restore pupdate.csproj | |
- name: Build | |
run: dotnet build pupdate.csproj --no-restore | |
- name: Test | |
run: dotnet test pupdate.csproj --no-build --verbosity normal | |
- name: Restore legacy dependencies | |
run: dotnet restore pupdate_legacy.csproj | |
- name: Build legacy | |
run: dotnet build pupdate_legacy.csproj --no-restore | |
- name: Test legacy | |
run: dotnet test pupdate_legacy.csproj --no-build --verbosity normal |