File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 4242 - name : Run FSharpLint on itself
4343 run : make selfcheck
4444
45+ testToolInvocation :
46+ needs : buildAndTest
47+ runs-on : ubuntu-latest
48+
49+ steps :
50+ - uses : actions/checkout@v4
51+ - name : Setup .NET
52+ uses : actions/setup-dotnet@v4
53+ with :
54+ global-json-file : global.json
55+ - name : Setup .NET 10
56+ uses : actions/setup-dotnet@v4
57+ with :
58+ dotnet-version : ' 10.0.x'
59+ - name : Restore tools
60+ run : dotnet tool restore
61+ - name : Build and pack
62+ run : dotnet fsi build.fsx -t Pack
63+ - name : Remove global.json to allow using .NET 10 SDK (for dnx)
64+ run : rm --force global.json
65+ - name : Run fsharplint as tool using dnx
66+ run : dnx fsharplint lint ./src/FSharpLint.Console/FSharpLint.Console.fsproj --source ./out/ --prerelease --yes --interactive false
4567
4668 deployReleaseBinaries :
4769 needs : buildAndTest
You can’t perform that action at this time.
0 commit comments