Skip to content

Commit

Permalink
Create dev.yml
Browse files Browse the repository at this point in the history
Signed-off-by: 永安404 <101850798+YongAn404@users.noreply.github.com>
  • Loading branch information
YongAn404 authored Oct 5, 2024
1 parent 4d796a3 commit d927248
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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: YongAnFrame Dev CI

on:
push:
branches:
- dev
pull_request:
branches:
- dev
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4

- name: Setup NuGet
uses: NuGet/setup-nuget@v2.0.0

- name: Restore NuGet packages
run: nuget restore YongAnFrame.sln

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore

- name: Test
run: dotnet test --no-build --verbosity normal

0 comments on commit d927248

Please sign in to comment.