Skip to content

Update buildandtest.yml #14

Update buildandtest.yml

Update buildandtest.yml #14

Workflow file for this run

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