Skip to content

升级到 .NET 8.0 #165

升级到 .NET 8.0

升级到 .NET 8.0 #165

Workflow file for this run

name: build
on:
push:
branches:
- dev
paths:
- '**/*.props'
- 'global.json'
- 'src/**/*.cs'
- 'src/**/*.csproj'
pull_request:
branches:
- dev
paths:
- '**/*.props'
- 'global.json'
- 'src/**/*.cs'
- 'src/**/*.csproj'
permissions:
contents: read
jobs:
build:
runs-on: 'ubuntu-latest'
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal