sedona
sedona copied to clipboard
Local actionlint run with pre-commit output
actionlint is a static checker for GitHub Actions workflow files .
https://github.com/rhysd/actionlint
Try it online https://rhysd.github.io/actionlint/
Seems we can clean up some of our workflow files
run actionlint...........................................................Failed
- hook id: actionlint
- exit code: 1
.github/workflows/java.yml:102:15: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
|
102 | uses: actions/cache@v3
| ^~~~~~~~~~~~~~~~
.github/workflows/java.yml:111:9: shellcheck reported issue in this script: SC2086:info:2:30: Double quote to prevent globbing and word splitting [shellcheck]
|
111 | run: |
| ^~~~
.github/workflows/java.yml:111:9: shellcheck reported issue in this script: SC2086:info:2:62: Double quote to prevent globbing and word splitting [shellcheck]
|
111 | run: |
| ^~~~
.github/workflows/java.yml:111:9: shellcheck reported issue in this script: SC2086:info:2:99: Double quote to prevent globbing and word splitting [shellcheck]
|
111 | run: |
| ^~~~
.github/workflows/java.yml:111:9: shellcheck reported issue in this script: SC2086:info:2:116: Double quote to prevent globbing and word splitting [shellcheck]
|
111 | run: |
| ^~~~
.github/workflows/java.yml:116:9: shellcheck reported issue in this script: SC2015:info:1:31: Note that A && B || C is not if-then-else. C may run when A is true [shellcheck]
|
116 | - run: |
| ^~~~
.github/workflows/docker-build.yml:67:15: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
|
67 | uses: actions/cache@v3
| ^~~~~~~~~~~~~~~~
.github/workflows/docker-build.yml:74:9: shellcheck reported issue in this script: SC2086:info:5:10: Double quote to prevent globbing and word splitting [shellcheck]
|
74 | run: |
| ^~~~
.github/workflows/docker-build.yml:74:9: shellcheck reported issue in this script: SC2086:info:6:100: Double quote to prevent globbing and word splitting [shellcheck]
|
74 | run: |
| ^~~~
.github/workflows/docker-build.yml:74:9: shellcheck reported issue in this script: SC2086:info:7:10: Double quote to prevent globbing and word splitting [shellcheck]
|
74 | run: |
| ^~~~
.github/workflows/docker-build.yml:86:9: shellcheck reported issue in this script: SC2086:info:1:19: Double quote to prevent globbing and word splitting [shellcheck]
|
86 | run: ./docker/build.sh ${SPARK_VERSION} ${SEDONA_VERSION} local ${GEOTOOLS_VERSION}
| ^~~~
.github/workflows/docker-build.yml:86:9: shellcheck reported issue in this script: SC2086:info:1:36: Double quote to prevent globbing and word splitting [shellcheck]
|
86 | run: ./docker/build.sh ${SPARK_VERSION} ${SEDONA_VERSION} local ${GEOTOOLS_VERSION}
| ^~~~
.github/workflows/docker-build.yml:86:9: shellcheck reported issue in this script: SC2086:info:1:60: Double quote to prevent globbing and word splitting [shellcheck]
|
86 | run: ./docker/build.sh ${SPARK_VERSION} ${SEDONA_VERSION} local ${GEOTOOLS_VERSION}
| ^~~~
.github/workflows/lint.yml:41:9: shellcheck reported issue in this script: SC2086:info:1:56: Double quote to prevent globbing and word splitting [shellcheck]
|
41 | run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
| ^~~~
.github/workflows/lint.yml:42:15: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
|
42 | - uses: actions/cache@v3
| ^~~~~~~~~~~~~~~~
.github/workflows/docs.yml:90:15: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
|
90 | uses: actions/cache@v3
| ^~~~~~~~~~~~~~~~
.github/workflows/docs.yml:97:15: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
|
97 | uses: actions/cache@v3
| ^~~~~~~~~~~~~~~~
.github/workflows/r.yml:110:9: shellcheck reported issue in this script: SC2086:info:3:28: Double quote to prevent globbing and word splitting [shellcheck]
|
110 | run: |
| ^~~~
.github/workflows/r.yml:121:9: shellcheck reported issue in this script: SC2086:info:2:42: Double quote to prevent globbing and word splitting [shellcheck]
|
121 | run: |
| ^~~~
.github/workflows/r.yml:121:9: shellcheck reported issue in this script: SC2086:info:2:74: Double quote to prevent globbing and word splitting [shellcheck]
|
121 | run: |
| ^~~~
.github/workflows/r.yml:125:9: shellcheck reported issue in this script: SC2072:error:1:32: Decimals are not supported. Either use integers only, or use bc or awk to compare [shellcheck]
|
125 | run: |
| ^~~~
.github/workflows/example.yml:67:15: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
|
67 | uses: actions/cache@v3
| ^~~~~~~~~~~~~~~~
.github/workflows/example.yml:74:15: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
|
74 | uses: actions/cache@v3
| ^~~~~~~~~~~~~~~~
.github/workflows/example.yml:83:9: shellcheck reported issue in this script: SC2086:info:1:58: Double quote to prevent globbing and word splitting [shellcheck]
|
83 | run: (cd examples/spark-sql;mvn clean install -Dspark.version=${SPARK_VERSION} -Dspark.compat.version=${SPARK_COMPAT_VERSION} -Dsedona.version=${SEDONA_VERSION};java -jar target/sedona-spark-example-1.6.0.jar)
| ^~~~
.github/workflows/example.yml:83:9: shellcheck reported issue in this script: SC2086:info:1:98: Double quote to prevent globbing and word splitting [shellcheck]
|
83 | run: (cd examples/spark-sql;mvn clean install -Dspark.version=${SPARK_VERSION} -Dspark.compat.version=${SPARK_COMPAT_VERSION} -Dsedona.version=${SEDONA_VERSION};java -jar target/sedona-spark-example-1.6.0.jar)
| ^~~~
.github/workflows/example.yml:83:9: shellcheck reported issue in this script: SC2086:info:1:139: Double quote to prevent globbing and word splitting [shellcheck]
|
83 | run: (cd examples/spark-sql;mvn clean install -Dspark.version=${SPARK_VERSION} -Dspark.compat.version=${SPARK_COMPAT_VERSION} -Dsedona.version=${SEDONA_VERSION};java -jar target/sedona-spark-example-1.6.0.jar)
| ^~~~
.github/workflows/python.yml:102:15: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
|
102 | uses: actions/cache@v3
| ^~~~~~~~~~~~~~~~
.github/workflows/python.yml:110:9: shellcheck reported issue in this script: SC2086:info:2:42: Double quote to prevent globbing and word splitting [shellcheck]
|
110 | run: |
| ^~~~
.github/workflows/python.yml:110:9: shellcheck reported issue in this script: SC2086:info:2:74: Double quote to prevent globbing and word splitting [shellcheck]
|
110 | run: |
| ^~~~
.github/workflows/python.yml:123:9: shellcheck reported issue in this script: SC2086:info:7:17: Double quote to prevent globbing and word splitting [shellcheck]
|
123 | run: |
| ^~~~
.github/workflows/python.yml:123:9: shellcheck reported issue in this script: SC2086:info:8:25: Double quote to prevent globbing and word splitting [shellcheck]
|
123 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:1:145: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:1:174: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:2:146: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:2:177: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:3:148: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:3:183: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:4:16: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:4:40: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:4:63: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:5:17: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:5:42: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:5:65: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:6:19: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:6:46: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:136:9: shellcheck reported issue in this script: SC2086:info:6:69: Double quote to prevent globbing and word splitting [shellcheck]
|
136 | run: |
| ^~~~
.github/workflows/python.yml:145:9: shellcheck reported issue in this script: SC2061:warning:1:32: Quote the parameter to -name so the shell won't interpret it [shellcheck]
|
145 | run: find spark-shaded/target -name sedona-*.jar -exec cp {} ${VENV_PATH}/lib/python${PYTHON_VERSION}/site-packages/pyspark/jars/ \;
| ^~~~
.github/workflows/python.yml:145:9: shellcheck reported issue in this script: SC2086:info:1:57: Double quote to prevent globbing and word splitting [shellcheck]
|
145 | run: find spark-shaded/target -name sedona-*.jar -exec cp {} ${VENV_PATH}/lib/python${PYTHON_VERSION}/site-packages/pyspark/jars/ \;
| ^~~~
.github/workflows/python.yml:145:9: shellcheck reported issue in this script: SC2086:info:1:80: Double quote to prevent globbing and word splitting [shellcheck]
|
145 | run: find spark-shaded/target -name sedona-*.jar -exec cp {} ${VENV_PATH}/lib/python${PYTHON_VERSION}/site-packages/pyspark/jars/ \;
| ^~~~
.github/workflows/python.yml:149:9: shellcheck reported issue in this script: SC2086:info:3:8: Double quote to prevent globbing and word splitting [shellcheck]
|
149 | run: |
| ^~~~
.github/workflows/python.yml:157:9: shellcheck reported issue in this script: SC2086:info:3:8: Double quote to prevent globbing and word splitting [shellcheck]
|
157 | run: |
| ^~~~
.github/workflows/python.yml:168:9: shellcheck reported issue in this script: SC2086:info:5:8: Double quote to prevent globbing and word splitting [shellcheck]
|
168 | run: |
| ^~~~
Hi can I pick this up?
Thanks @MadhuriRathod30 you are now assigned 👍