Wire up slash command responding + simplify command builders #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build / Lint / Format Check | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "8.x" | |
- run: dotnet build | |
# lint: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: actions/setup-dotnet@v4 | |
# with: | |
# dotnet-version: "8.0.105" | |
# - name: Install Tools | |
# run: dotnet tool restore | |
# - run: dotnet dotnet-fsharplint lint JimBroBot.fsproj | |
format_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "8.x" | |
- name: Install Tools | |
run: dotnet tool restore | |
- run: dotnet fantomas --check . |