Skip to content

Commit

Permalink
Add build and test jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Honny1 committed Mar 27, 2024
1 parent ee44ded commit 0508f78
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,33 @@ jobs:

- name: Welcome
run: echo "Hello word!"
build:
runs-on: ubuntu-latest
needs: welcome
steps:
- uses: actions/checkout@v4

- 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

test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Test
run: dotnet test

0 comments on commit 0508f78

Please sign in to comment.