SharpMetal/.github/workflows/build.yml
2023-07-26 13:19:00 -04:00

25 lines
537 B
YAML

name: Build & Test
on:
workflow_call:
workflow_dispatch:
concurrency:
group: build-${{ github.event.number }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal