Fix line endings in release.sh (CRLF -> LF) #3
Workflow file for this run
This file contains hidden or 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 | |
| on: | |
| push: | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [windows-2019, ubuntu-18.04, macos-10.15] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| DOTNET_NOLOGO: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
| steps: | |
| - name: Setup .NET 3.x | |
| uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: 3.1.x | |
| - name: Setup .NET 5.x | |
| uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: 5.0.x | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Install coverlet | |
| if: matrix.os == 'ubuntu-18.04' | |
| run: | | |
| dotnet add tests/tests.csproj package coverlet.msbuild | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore | |
| - name: Test | |
| run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov | |
| - name: Code coverage | |
| if: matrix.os == 'ubuntu-18.04' | |
| uses: codecov/codecov-action@v1 | |
| with: | |
| files: ./tests/coverage.info | |
| flags: unittests | |