Restructure Build System #33
Workflow file for this run
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: Verifies PR are ready for merge | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
verify-code: | |
name: Verifies code formatting, builds, and runs unit tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core SDK 7 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: "7.0.203" | |
- name: Print info | |
run: make info | |
- name: Build code | |
run: make build | |
- name: Run tests | |
run: make test | |
- name: Verify formatting | |
run: make lint | |
build-nuget-package: | |
uses: ./.github/workflows/reusable-build-nuget-package.yaml | |
with: | |
version: 0.0.1 | |
configuration: Release |