Skip to content

Commit

Permalink
Add .NET Core CI workflow
Browse files Browse the repository at this point in the history
A new workflow for Continuous Integration (CI) of .NET Core has been added to the project. It gets triggered on each push to the master branch, sets up .NET, restores dependencies, builds the project, and runs tests.
  • Loading branch information
Al4ric committed Nov 22, 2023
1 parent fe5ef7e commit b0c2fb7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: .NET Core CI

on:
push:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v2
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

0 comments on commit b0c2fb7

Please sign in to comment.