mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-02-05 08:52:50 +02:00
25 lines
727 B
YAML
25 lines
727 B
YAML
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- dev
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: 8.0.x
|
|
- name: Restore dependencies
|
|
run: dotnet restore src/DotTiled.sln
|
|
- name: Build
|
|
run: dotnet build --no-restore src/DotTiled.sln
|
|
- name: Test
|
|
run: dotnet test --no-build --verbosity normal src/DotTiled.sln
|
|
- name: Lint style
|
|
run: dotnet format style --verify-no-changes --verbosity diagnostic src/DotTiled.sln
|
|
- name: Lint analyzers
|
|
run: dotnet format analyzers --verify-no-changes --verbosity diagnostic src/DotTiled.sln
|