chore: clean up github actions workflows

This commit is contained in:
alyssa 2025-01-14 07:08:36 +00:00
parent 089cc9750f
commit ba81191312
7 changed files with 79 additions and 101 deletions

View file

@ -1,31 +0,0 @@
name: Format check on pull request
on:
push:
paths:
- 'Myriad/**'
- 'PluralKit.API/**'
- 'PluralKit.Bot/**'
- 'PluralKit.Core/**'
pull_request:
paths:
- 'Myriad/**'
- 'PluralKit.API/**'
- 'PluralKit.Bot/**'
- 'PluralKit.Core/**'
jobs:
dotnet-format:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Add dotnet-format problem matcher
uses: xt0rted/dotnet-format-problem-matcher@v1
- name: Restore dotnet tools
uses: xt0rted/dotnet-tool-restore@v1
- name: Run dotnet format
uses: PluralKit/dotnet-format@fix/net6