Skip to content

Commit

Permalink
chore: Added new GitHub workflow to ensure working tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cus-dbc-laika committed Nov 25, 2024
1 parent 637b12c commit 399677f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: .NET - Build and test

on:
push:
branches: ["main"]

pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8

- 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 399677f

Please sign in to comment.