Merge pull request #15 from gpproton/fix-docs-publish #44
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 libraries | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
env: | |
BUILD_CONFIG: Debug | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.x | |
- name: Restore Workloads | |
run: dotnet workload restore | |
- name: Restore | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore -c ${{ env.BUILD_CONFIG }} | |
- name: Test | |
run: dotnet test -c ${{ env.BUILD_CONFIG }} --no-build |