Skip to content

Commit

Permalink
ci: Add Build and Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
philasmar committed Oct 24, 2024
1 parent 5d05ef4 commit dec7dc1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/BuildandTest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and Test

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal

0 comments on commit dec7dc1

Please sign in to comment.