Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] /home/runner/work/_temp/c08525f0-89ee-4bf6-a199-7302a7c91969.sh: line 1: [: =: unary operator expected #520

Open
SwuduSusuwu opened this issue Feb 5, 2025 · 0 comments

Comments

@SwuduSusuwu
Copy link

https://github.com/SwuduSusuwu/SubStack/blob/trunk/.github/workflows/codacy.yml has default values.
https://github.com/SwuduSusuwu/SubStack/actions/runs/13162208935/job/36733536775 shows:

Run codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b
Run echo "CODACY_ANALYSIS_CLI_VERSION=4.0.0" >> $GITHUB_ENV
Run echo "CLI_SCRIPT_PATH=/home/runner/work/_actions/codacy/codacy-analysis-cli-action/d840f886c4bd4edc059706d09c6a1586111c540b/codacy-analysis-cli.sh" >> $GITHUB_ENV
Run wget -O - https://raw.githubusercontent.com/codacy/codacy-analysis-cli/4.0.0/bin/codacy-analysis-cli.sh > /home/runner/work/_actions/codacy/codacy-analysis-cli-action/d840f886c4bd4edc059706d09c6a1586111c540b/codacy-analysis-cli.sh
--2025-02-05 16:40:13--  https://raw.githubusercontent.com/codacy/codacy-analysis-cli/4.0.0/bin/codacy-analysis-cli.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3107 (3.0K) [text/plain]
Saving to: ‘STDOUT’

     0K ...                                                   100% 50.0M=0s

2025-02-05 16:40:13 (50.0 MB/s) - written to stdout [3107/3107]

Run chmod +x /home/runner/work/_actions/codacy/codacy-analysis-cli-action/d840f886c4bd4edc059706d09c6a1586111c540b/codacy-analysis-cli.sh
Run /home/runner/work/_actions/codacy/codacy-analysis-cli-action/d840f886c4bd4edc059706d09c6a1586111c540b/codacy-analysis-cli.sh analyze $(if [ true = true ]; then echo "--verbose"; fi) $(if [  ]; then echo "--project-token "; fi) $(if [  ]; then echo "--codacy-api-base-url "; fi) $(if [ sarif ]; then echo "--format sarif"; fi) $(if [ results.sarif ]; then echo "--output results.sarif"; fi) $(if [  ]; then echo "--directory "; fi) $(if [  ]; then echo "--parallel "; fi) $(if [ 2147483647 ]; then echo "--max-allowed-issues 2147483647"; fi) $(if [  ]; then echo "--tool "; fi) $(if [  ]; then echo "--tool-timeout "; fi) $(if [  = true ]; then echo "--upload"; fi) $(if [  = true ]; then echo "--fail-if-incomplete"; fi) $(if [  = true ]; then echo "--allow-network"; fi) $(if [  = true ]; then echo "--force-file-permissions"; fi) $(if [ true = true ]; then echo "--gh-code-scanning-compat"; fi)
/home/runner/work/_temp/c08525f0-89ee-4bf6-a199-7302a7c91969.sh: line 1: [: =: unary operator expected
/home/runner/work/_temp/c08525f0-89ee-4bf6-a199-7302a7c91969.sh: line 1: [: =: unary operator expected
/home/runner/work/_temp/c08525f0-89ee-4bf6-a199-7302a7c91969.sh: line 1: [: =: unary operator expected
/home/runner/work/_temp/c08525f0-89ee-4bf6-a199-7302a7c91969.sh: line 1: [: =: unary operator expected
Unable to find image 'codacy/codacy-analysis-cli:4.0.0' locally
4.0.0: Pulling from codacy/codacy-analysis-cli

Importance:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant