mirror of https://github.com/abpframework/eventhub
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
577 B
33 lines
577 B
name: .NET
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '*.cs'
|
|
- '*.cshtml'
|
|
- '*.razor'
|
|
- '*.csproj'
|
|
pull_request:
|
|
paths:
|
|
- '*.cs'
|
|
- '*.cshtml'
|
|
- '*.razor'
|
|
- '*.csproj'
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 6.0.x
|
|
- name: Restore dependencies
|
|
run: dotnet restore
|
|
- name: Build
|
|
run: dotnet build --no-restore
|
|
- name: Test
|
|
run: dotnet test --no-build --verbosity normal
|
|
|