Skip to content

Commit

Permalink
Split again
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythonic-Rainbow committed Jan 16, 2024
1 parent aa779b0 commit 4e7be69
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/bot.yml → .github/workflows/compile-bot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: C# bot
name: Compile bot

on:
push:
Expand Down Expand Up @@ -34,13 +34,3 @@ jobs:
Bot/bin/Release/net8.0/linux-arm64/Bot
Bot/bin/Release/net8.0/linux-arm64/*.dll
Bot/bin/Release/net8.0/linux-arm64/*.json
inspect:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Inspect
uses: muno92/resharper_inspectcode@v1
with:
workingDirectory: './Bot'
solutionPath: './Bot.sln'
noBuild: true
31 changes: 31 additions & 0 deletions .github/workflows/inspect-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Inspect bot

on:
push:
branches: [ "main", "debug-workflow" ]
paths: ["**.cs"]
pull_request:
branches: [ "main" ]
paths: ["**.cs"]

defaults:
run:
working-directory: ./Bot

jobs:
inspect:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Restore
run: dotnet restore
- name: Inspect
uses: muno92/resharper_inspectcode@v1
with:
workingDirectory: './Bot'
solutionPath: './Bot.sln'
noBuild: true

0 comments on commit 4e7be69

Please sign in to comment.