Skip to content

Merge pull request #538 from microsoft/dependabot/github_actions/dot-… #458

Merge pull request #538 from microsoft/dependabot/github_actions/dot-…

Merge pull request #538 from microsoft/dependabot/github_actions/dot-… #458

name: Scalar
on:
push:
branches: [ main, releases/* ]
pull_request:
branches: [ main, releases/* ]
env:
SCALAR_TEST_SKIP_VSTS_INFO: true
jobs:
validate_scalar:
name: "CI"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, windows-2019, macos-13]
features: [ignored]
env:
BUILD_FRAGMENT: bin/Release/netcoreapp3.1
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Indicate full history so Nerdbank.GitVersioning works.
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.302
- name: Install dependencies
run: dotnet restore
env:
DOTNET_NOLOGO: 1
- name: Build
run: dotnet build --configuration Release --no-restore -p:UseAppHost=true # Force generation of executable on macOS.
- name: Unit test
run: dotnet test --no-restore