Skip to content

feat: 删除不必要的内容,以及更新依赖库 #36

feat: 删除不必要的内容,以及更新依赖库

feat: 删除不必要的内容,以及更新依赖库 #36

Workflow file for this run

name: Build Test
on:
#push:
# branches:
# - main
pull_request:
branches:
- main
env:
DOTNET_VERSION: "9.0.x"
TZ: Asia/Shanghai
SOLUTION: EasilyNET.sln
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore dependencies
run: dotnet restore ${{ env.SOLUTION }}
- name: Build
run: dotnet build ${{ env.SOLUTION }} --no-restore
- name: Test
run: dotnet test ${{ env.SOLUTION }} --no-build --verbosity normal