Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shibbo authored Jan 20, 2025
1 parent c9c56df commit 228281b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0'

- name: Restore dependencies
run: dotnet restore

- name: Build the project
run: dotnet build --configuration Release

- name: Run tests
run: dotnet test

0 comments on commit 228281b

Please sign in to comment.