Merge pull request #419 from BifrostTitan/master #137
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: .NET | |
on: | |
push: | |
branches: [ master, net5 ] | |
pull_request: | |
branches: [ master, net5 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- name: Check out Code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Run cake | |
shell : bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
dotnet tool install Cake.Tool --version 1.1.0 | |
dotnet tool restore | |
dotnet cake --target=Report --verbosity=verbose | |
- name: Publish coverage report to coveralls.io | |
uses: coverallsapp/github-action@v1.1.2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: code_coverage/results.info |