Merge pull request #2311 from andy840119/format-the-code #6
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 Core | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build with .NET | |
run: dotnet build --no-restore --configuration Release | |
- name: Unit Tests | |
run: dotnet test --no-build --no-restore --configuration Release |