Skip to content

Update GitHub Actions to v4 #130

Update GitHub Actions to v4

Update GitHub Actions to v4 #130

Workflow file for this run

name: dotnetcore
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4.0.1
- name: Build with dotnet
run: cd src && dotnet build --configuration Release
- name: Unit test with coverage report
run: |
printenv
cd ./src/Atrea.Extensions.Tests/
dotnet test /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./src/Atrea.Extensions.Tests/TestResults/coverage.info