Skip to content

Commit

Permalink
[Workflow] Merge into one workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythonic-Rainbow committed Jan 16, 2024
1 parent 4407968 commit aa779b0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 33 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/compile-bot.yml → .github/workflows/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: Compile bot
name: C# bot

on:
push:
Expand All @@ -18,9 +18,8 @@ defaults:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
Expand All @@ -35,3 +34,13 @@ 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
25 changes: 0 additions & 25 deletions .github/workflows/resharper-inspect.yml

This file was deleted.

9 changes: 4 additions & 5 deletions Bot/Sql/Db.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using SQLite;

namespace Hyperstellar.Sql
namespace Hyperstellar.Sql;

internal class Db
{
internal class Db
{
private static readonly SQLiteConnection _db = new("Hyperstellar.db");
}
private static readonly SQLiteConnection _db = new("Hyperstellar.db");
}

0 comments on commit aa779b0

Please sign in to comment.