Skip to content

build(deps): Bump actions/checkout from 4.1.5 to 4.1.7 #212

build(deps): Bump actions/checkout from 4.1.5 to 4.1.7

build(deps): Bump actions/checkout from 4.1.5 to 4.1.7 #212

name: build and test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
jobs:
build-and-test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore /nologo /clp:NoSummary
- name: Run Tests
run: >
dotnet test
-p:CollectCoverage=true
-p:CoverletOutput=TestResults/
-p:CoverletOutputFormat=opencover
--configuration Release
--no-build
- name: ReSharper annotations
uses: VMelnalksnis/[email protected]
with:
solution: VMelnalksnis.ISO20022DotNet.sln
resharper-version: '2021.3.4'
treat-warnings-as-errors: false
- name: Gather Code Coverage
uses: codecov/[email protected]
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}