Skip to content

Develop

Develop #2261

Workflow file for this run

name: .NET Core
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Setup culture
run: Set-Culture -CultureInfo en-GB
shell: powershell
- name: Cache nuget modules
uses: actions/cache@v2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build ./src/form-builder.csproj --configuration Release --no-restore
- name: Test
run: dotnet test ./tests/unit-tests/form-builder-tests-unit.csproj