Merge branch 'main' into dev #17
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: | |
branches: [ "dev" ] | |
pull_request: | |
branches: [ "dev", "main" ] | |
jobs: | |
build: | |
name: "Build and Test" | |
# use ubuntu-latest image to run steps on | |
runs-on: ubuntu-latest | |
steps: | |
# uses GitHub's checkout action to checkout code form the release branch | |
- name: Checkout code | |
uses: actions/[email protected] | |
# sets up .NET SDK | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
global-json-file: ./global.json | |
- name: Install WASM workload | |
run: dotnet workload install wasm-tools | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Run tests | |
run: dotnet test --configuration Release --no-build |