Update to use .net8 #159
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: main build | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
strategy: | |
matrix: | |
platform: [windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 0 # Required by LockCheck CI | |
- name: Install Dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: "8.0.x" | |
- name: Dotnet Installation Info | |
run: dotnet --info | |
- name: Build Deps | |
run: | | |
cd subrepos/LockCheck; | |
dotnet build -c release | |
- name: Build | |
run: dotnet build | |
- name: Lint | |
run: dotnet format --verify-no-changes | |
- name: Test | |
run: dotnet test --no-build --verbosity normal |