Skip to content

Merge pull request #31 from es-wolters-kluwer/feature/420800_AddTaxCodes #146

Merge pull request #31 from es-wolters-kluwer/feature/420800_AddTaxCodes

Merge pull request #31 from es-wolters-kluwer/feature/420800_AddTaxCodes #146

Workflow file for this run

name: Build and test
on:
push:
branches: [ principal]
pull_request:
branches: [ principal]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET 6.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '5.x'
- name: Set Version
uses: gittools/actions/gitversion/[email protected]
with:
useConfigFile: true
configFilePath: GitVersion.yml
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore --framework net6.0 /p:Version=$GitVersion_SemVer /p:FileVersion=$GitVersion_SemVer /p:AssemblyVersion=$GitVersion_MajorMinorPatch
- name: Test
run: dotnet test --no-build --no-restore --verbosity normal --configuration Release