commit e0633f19dba6b140e8f90baea66bc51372ea17d6 parent a15997688a9271fbc42c58235fee76399035999a Author: Minerva_juppiter <94231606+minerva-jupiter@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:50:50 +0900 Create dotnet.yml Diffstat:
| A | .github/workflows/dotnet.yml | | | 28 | ++++++++++++++++++++++++++++ |
1 file changed, 28 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml @@ -0,0 +1,28 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: .NET + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + 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 + - name: Test + run: dotnet test --no-build --verbosity normal