Skip to content

Commit

Permalink
2024: Introduce fsharplint
Browse files Browse the repository at this point in the history
  • Loading branch information
jp7677 committed Nov 15, 2024
1 parent dd4e46e commit 0822afd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ jobs:
- name: Set up .Net Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: 8.0.x
- name: Compile and run AoC 2024
run: |
cd 2024
dotnet tool restore
DOTNET_ROLL_FORWARD=latestMajor dotnet fsharplint lint src/*
dotnet build -c Release
dotnet test bin/Release/net8.0/aoc2024.dll
12 changes: 12 additions & 0 deletions 2024/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-fsharplint": {
"version": "0.24.2",
"commands": [
"dotnet-fsharplint"
]
}
}
}

0 comments on commit 0822afd

Please sign in to comment.