Merge pull request #141 from CodewareGames/main #299
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: Continuous Integration | |
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@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore OWS.sln | |
working-directory: ./src | |
- name: Build | |
run: dotnet build OWS.sln --no-restore | |
working-directory: ./src | |
- name: Test | |
run: dotnet test OWS.sln --no-build --verbosity normal | |
working-directory: ./src |