mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-29 17:41:00 -05:00
9 lines
315 B
Bash
9 lines
315 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -euo pipefail
|
||
|
|
||
|
curl --retry 5 --retry-delay 5 -sLO https://dot.net/v1/dotnet-install.sh
|
||
|
chmod +x dotnet-install.sh
|
||
|
./dotnet-install.sh --install-dir /usr/share/dotnet -channel STS -version latest
|
||
|
/usr/share/dotnet/dotnet tool install --tool-path /usr/bin dotnet-format --version 5.0.211103
|