Skip to content

Commit

Permalink
Try exact version of .NET
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavb committed May 31, 2024
1 parent 861d33b commit 42d5ffc
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build+lint+format_check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build / Lint Check / Format Check
name: Build / Lint / Format Check

on:
push:
Expand All @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
dotnet-version: "8.x"
- run: dotnet build
lint:
runs-on: ubuntu-latest
Expand All @@ -22,10 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.403
- name: Temporary workaround
run: dotnet new globaljson --sdk-version 6.0.403 --roll-forward minor
dotnet-version: "8.0.300"
- name: Install Tools
run: dotnet tool restore
- run: dotnet dotnet-fsharplint lint JimBroBot.fsproj
Expand All @@ -36,7 +33,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
dotnet-version: "8.x"
- name: Install Tools
run: dotnet tool restore
- run: dotnet fantomas --check .
- run: dotnet fantomas --check .

0 comments on commit 42d5ffc

Please sign in to comment.