Skip to content

Bump Discord.Net from 3.11.0 to 3.12.0 #349

Bump Discord.Net from 3.11.0 to 3.12.0

Bump Discord.Net from 3.11.0 to 3.12.0 #349

Workflow file for this run

name: Build & Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build & Test Project
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: |
dotnet restore src/FloppyBot.sln
- name: Build
run: dotnet build --no-restore src/FloppyBot.sln
- name: Test
uses: zyborg/dotnet-tests-report@v1
with:
project_path: src/FloppyBot.sln
report_name: floppybot_v2_tests
report_title: FloppyBot v2 Tests
github_token: ${{ secrets.GITHUB_TOKEN }}
code-style:
name: Check Code Style
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: |
dotnet restore src/FloppyBot.sln
dotnet tool restore
- name: Check Code Format
run: |
dotnet csharpier --check src/
- name: Check Code Style
run: |
dotnet format style --verify-no-changes src/
- name: Run Format Analyzer
run: |
dotnet format analyzers --verify-no-changes src/