fix folder case sensitivity issue #4
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&Test | |
on: | |
push: | |
branches: [ dev, main, master, '**' ] | |
pull_request: | |
branches: [ dev, main, master ] | |
jobs: | |
linux: | |
name: build and test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
7.0.x | |
8.0.x | |
- name: Show dotnet Version | |
run: | | |
dotnet --list-sdks | |
dotnet --list-runtimes | |
- name: Show docker info | |
run: | | |
docker ps -a | |
- name: Build with dotnet | |
run: | | |
dotnet build --configuration Release /home/runner/work/Dispose.Scope/Dispose.Scope/DisposeScope.sln | |
- name: Run tests on net8.0 | |
run: | | |
dotnet test --framework=net8.0 /home/runner/work/Dispose.Scope/Dispose.Scope/tests/Dispose.Scope.Tests.csproj |