Skip to content

feat: 更新依赖. #55

feat: 更新依赖.

feat: 更新依赖. #55

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