Skip to content

Commit

Permalink
Merge branch 'main' into dev-felix
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix-CodingClimber authored Jan 15, 2024
2 parents cef4a95 + e5144c7 commit 0c76da7
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-and-test-src.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: build and test src

on:
push:
pull_request:
branches: [ main ]
paths:
- 'src/*'

env:
DOTNET_VERSION: '8.x.x'

jobs:
build-and-test:

name: build-and-test-${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore

- name: Test
run: dotnet test --no-restore --verbosity normal

0 comments on commit 0c76da7

Please sign in to comment.