mirror of
https://github.com/Smaug123/FicroKanSharp
synced 2025-10-05 11:38:39 +00:00
30 lines
682 B
YAML
30 lines
682 B
YAML
name: .NET Core
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 6.0.100
|
|
- name: Install dependencies
|
|
run: dotnet restore FicroKanSharp.sln
|
|
- name: Build
|
|
run: dotnet build FicroKanSharp.sln --configuration Release --no-restore
|
|
- name: Test
|
|
run: dotnet test FicroKanSharp.sln --no-restore --verbosity normal
|
|
- name: Install Fantomas
|
|
run: dotnet tool restore
|
|
- name: Run Fantomas
|
|
run: dotnet tool run fantomas --check .
|