Bump SkiaSharp from 2.80.2 to 2.88.6 in /src/MatatakiBot #40
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 5.0.x | |
- name: Use NuGet cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Restore packages | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Test | |
run: dotnet test --configuration Release --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura | |
- name: Generate coverage report | |
uses: danielpalme/[email protected] | |
with: | |
reports: tests/**/coverage.cobertura.xml | |
targetdir: coveragereport | |
reporttypes: Html | |
- name: Upload coverage report | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Coverage Report | |
path: coveragereport |