Skip to content

[ODS-6480] Schrödinger’s studentContactAssociation (v7.1) #1601

[ODS-6480] Schrödinger’s studentContactAssociation (v7.1)

[ODS-6480] Schrödinger’s studentContactAssociation (v7.1) #1601

name: Lib EdFi.Common Pull request build and test
on:
pull_request:
branches: [main, 'ODS-*',b-v*-patch*]
env:
INFORMATIONAL_VERSION: "7.1"
CONFIGURATION: "Release"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Setup .NET
uses: actions/setup-dotnet@c0d4ad69d8bd405d234f1c9166d383b7a4f69ed8 # 2.1.0
with:
dotnet-version: 6.0.x
- name: Cache Nuget packages
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 #v3.2.3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj*', '**/configuration.packages.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore NuGet packages
run: |
.\build.githubactions.ps1 restore -Solution "Application/EdFi.Common/EdFi.Common.sln"
shell: pwsh
- name: build
run: |
.\build.githubactions.ps1 build -Configuration ${{ env.CONFIGURATION }} -InformationalVersion ${{ env.INFORMATIONAL_VERSION}} -BuildCounter ${{ github.run_number }} -Solution "Application/EdFi.Common/EdFi.Common.sln" -ProjectFile "Application/EdFi.Common/EdFi.Common.csproj"
shell: pwsh
- name: Run Unit tests
run: |
.\build.githubactions.ps1 test -Configuration ${{ env.CONFIGURATION }} -Solution "Application/EdFi.Common/EdFi.Common.sln" -ProjectFile "Application/EdFi.Common/EdFi.Common.csproj"
shell: pwsh