Skip to content

Commit

Permalink
Update workflow to include linting/formatting checks
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavb committed May 31, 2024
1 parent f0ed3fc commit ac2cccc
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Build / Lint Check / Format Check

on:
push:
Expand All @@ -15,7 +15,18 @@ jobs:
with:
dotnet-version: '8.x'
- run: dotnet build
format:
lint_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 dotnet-fsharplint lint JimBroBot.fsproj
format_check:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit ac2cccc

Please sign in to comment.