mirror of
https://gitee.com/dotnetchina/MiniExcel.git
synced 2024-12-03 12:27:41 +08:00
c79c64d478
* Reuse code between async/sync methods * Update checkout action * Change access modifiers --------- Co-authored-by: Lukasz Arciszewski <lukasz.arciszewski@accenture.com>
31 lines
598 B
YAML
31 lines
598 B
YAML
name: .NET
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 6.0.x
|
|
- name: Restore dependencies
|
|
run: dotnet restore
|
|
env:
|
|
VSTEST_CONNECTION_TIMEOUT: 9000
|
|
- name: Build
|
|
run: dotnet build --no-restore
|
|
env:
|
|
VSTEST_CONNECTION_TIMEOUT: 9000
|
|
- name: Test
|
|
run: dotnet test --no-build --verbosity normal
|
|
env:
|
|
VSTEST_CONNECTION_TIMEOUT: 9000 |