Skip to content

Commit

Permalink
ci: add test job (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnblogs-dudu committed Mar 12, 2024
1 parent 7eaec50 commit f959c38
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 26 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI

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

jobs:
build-test:
runs-on: ubuntu-latest
container: mcr.microsoft.com/dotnet/sdk:8.0

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: dotnet build -c Release
- name: Test
run: dotnet test -c Release
26 changes: 0 additions & 26 deletions .github/workflows/dotnet.yml

This file was deleted.

0 comments on commit f959c38

Please sign in to comment.