Skip to content

Commit

Permalink
Merge pull request #1 from rars/add-workflow
Browse files Browse the repository at this point in the history
ci: add dotnet github action workflow
  • Loading branch information
rars authored Apr 24, 2024
2 parents 872f025 + 7074a94 commit f8f1d58
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dotnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: .NET

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest

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

0 comments on commit f8f1d58

Please sign in to comment.