mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-19 14:48:38 +03:00
Bump github/super-linter from 3.15.5 to 4.0.2 (#6209)
* Bump github/super-linter from 3.15.5 to 4.0.2 Bumps [github/super-linter](https://github.com/github/super-linter) from 3.15.5 to 4.0.2. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v3.15.5...v4.0.2) Signed-off-by: dependabot[bot] <support@github.com> * install.sh line 96: if [ x"$INSTALL_PYTHON_VERSION" = x ]; then ^------------------------^ SC2268: Avoid x-prefix in comparisons as it no longer serves a purpose. Did you mean: if [ "$INSTALL_PYTHON_VERSION" = "" ]; then For more information: https://www.shellcheck.net/wiki/SC2268 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
This commit is contained in:
parent
4f64bb9baa
commit
15f8724cae
2
.github/workflows/super-linter.yml
vendored
2
.github/workflows/super-linter.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
||||
# Run Linter against code base #
|
||||
################################
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter@v3.15.5
|
||||
uses: github/super-linter@v4.0.2
|
||||
# uses: docker://github/super-linter:v3.10.2
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: true
|
||||
|
@ -84,7 +84,7 @@ find_python() {
|
||||
unset BEST_VERSION
|
||||
for V in 37 3.7 38 3.8 39 3.9 3; do
|
||||
if which python$V >/dev/null; then
|
||||
if [ x"$BEST_VERSION" = x ]; then
|
||||
if [ "$BEST_VERSION" = "" ]; then
|
||||
BEST_VERSION=$V
|
||||
fi
|
||||
fi
|
||||
@ -93,7 +93,7 @@ find_python() {
|
||||
set -e
|
||||
}
|
||||
|
||||
if [ x"$INSTALL_PYTHON_VERSION" = x ]; then
|
||||
if [ "$INSTALL_PYTHON_VERSION" = "" ]; then
|
||||
INSTALL_PYTHON_VERSION=$(find_python)
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user