PluralKit/.github/workflows/dotnetcore.yml

42 lines
872 B
YAML
Raw Normal View History

2019-10-26 13:18:42 +00:00
name: .NET Core
on:
push:
paths:
- 'Myriad/**'
- 'PluralKit.API/**'
- 'PluralKit.Bot/**'
- 'PluralKit.Core/**'
pull_request:
paths:
- 'Myriad/**'
- 'PluralKit.API/**'
- 'PluralKit.Bot/**'
- 'PluralKit.Core/**'
2019-10-26 13:18:42 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
2019-10-26 13:18:42 +00:00
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
2021-08-26 16:03:19 +00:00
- name: Build with dotnet
run: dotnet build --configuration Release
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
2021-08-26 16:03:19 +00:00
- name: Run automated tests
run: dotnet test --configuration Release