Skip to content

Merge pull request #343 from mariusz-schimke/feature/central-package-… #358

Merge pull request #343 from mariusz-schimke/feature/central-package-…

Merge pull request #343 from mariusz-schimke/feature/central-package-… #358

Workflow file for this run

name: Build and Test
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
defaults:
run:
working-directory: ./src
jobs:
build:
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build solution
run: dotnet build --configuration Release --no-restore
- name: Run tests
run: dotnet test --no-restore