codacy / codacy-analysis-cli-action

GitHub Action for the codacy-analysis-cli
https://github.com/codacy/codacy-analysis-cli
Apache License 2.0
58 stars 18 forks source link

[CY-6555] Codacy analysis empty Sarif file #89

Closed AntonioFalcaoJr closed 1 year ago

AntonioFalcaoJr commented 2 years ago

It sounds like the analysis results are empty. Error 422 during upload. What am I missing?

Trying to use: Integration with GitHub code scanning

JOB link: https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425

YAML

on:
  workflow_call:
    inputs:
      path:
        description: 'The path of project passed from the caller workflow'
        required: true
        type: string

permissions:
  contents: read

jobs:
  analyze:
    runs-on: ubuntu-latest
    permissions:
      actions: read
      contents: read
      security-events: write

    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Setup .NET
        uses: actions/setup-dotnet@v1

      - name: Run Analysis
        uses: codacy/codacy-analysis-cli-action@master
        with:
          directory: ${{ inputs.path }}
          verbose: false
          output: results.sarif
          format: sarif
          tool: sonarscharp
          gh-code-scanning-compat: true
          max-allowed-issues: 10
          fail-if-incomplete: true

      - name: cat results.sarif
        run: cat results.sarif

      - name: Upload SARIF results
        uses: github/codeql-action/upload-sarif@main
        with:
          sarif_file: results.sarif

Example of ${{ inputs.path }}: src/Services/Account

CAT results.sarif

Run cat results.sarif
  cat results.sarif
  shell: /usr/bin/bash -e {0}
  env:
    DOTNET_ROOT: /home/runner/.dotnet
    CODACY_BASE_URL_OR_DEFAULT: https://api.codacy.com
    OWNER_NAME: AntonioFalcaoJr
    REPOSITORY_NAME: EDA.CleanArch.DDD.CQRS.EventSourcing
    ORGANIZATION_PROVIDER: gh
    COMMIT_SHA: 6[2](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:5:2)479c79[3](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:5:3)7ee[4](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:5:4)484c038490[5](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:5:5)8cc9b20[6](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:5:6)0d[7](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:5:7)5aa7d
    CODACY_ANALYSIS_CLI_VERSION: 7.6.4
    CLI_SCRIPT_PATH: /home/runner/work/_actions/codacy/codacy-analysis-cli-action/master/codacy-analysis-cli.sh
{"$schema":"https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json","version":"2.1.0","runs":[]}

UploadSarif results

Run github/codeql-action/upload-sarif@main
  with:
    sarif_file: results.sarif
    checkout_path: /home/runner/work/EDA.CleanArch.DDD.CQRS.EventSourcing/EDA.CleanArch.DDD.CQRS.EventSourcing
    token: ***
    matrix: null
    wait-for-processing: true
  env:
    DOTNET_ROOT: /home/runner/.dotnet
    CODACY_BASE_URL_OR_DEFAULT: https://api.codacy.com
    OWNER_NAME: AntonioFalcaoJr
    REPOSITORY_NAME: EDA.CleanArch.DDD.CQRS.EventSourcing
    ORGANIZATION_PROVIDER: gh
    COMMIT_SHA: 6[2](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:6:2)479c79[3](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:6:3)7ee[4](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:6:4)484c038490[5](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:6:5)8cc9b20[6](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:6:6)0d[7](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:6:7)5aa7d
    CODACY_ANALYSIS_CLI_VERSION: 7.6.4
    CLI_SCRIPT_PATH: /home/runner/work/_actions/codacy/codacy-analysis-cli-action/master/codacy-analysis-cli.sh
Uploading results
  Processing sarif files: ["results.sarif"]
  Uploading results
  Error: Invalid request.

  1 item required; only 0 were supplied.
  RequestError [HttpError]: Invalid request.

  1 item required; only 0 were supplied.
      at /home/runner/work/_actions/github/codeql-action/main/node_modules/@octokit/request/dist-node/index.js:66:23
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async Job.doExecute (/home/runner/work/_actions/github/codeql-action/main/node_modules/bottleneck/light.js:405:1[8](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:6:8)) {
    status: 422,
    headers: {
      'access-control-allow-origin': '*',
      'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
      connection: 'close',
      'content-length': '123',
      'content-security-policy': "default-src 'none'",
      'content-type': 'application/json; charset=utf-8',
      date: 'Tue, 04 Oct 2022 15:1[9](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:6:9):41 GMT',
      'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
      server: 'GitHub.com',
      'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
      vary: 'Accept-Encoding, Accept, X-Requested-With',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'deny',
      'x-github-media-type': 'github.v3; format=json',
      'x-github-request-id': '07C3:5317:E784D2:1DC[10](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:6:10)1B:633C4F0D',
      'x-ratelimit-limit': '1000',
      'x-ratelimit-remaining': '995',
      'x-ratelimit-reset': '1664896956',
      'x-ratelimit-resource': 'code_scanning_upload',
      'x-ratelimit-used': '5',
      'x-xss-protection': '0'
    },
    request: {
      method: 'PUT',
      url: 'https://api.github.com/repos/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/code-scanning/analysis',
      headers: {
        accept: 'application/vnd.github.v3+json',
        'user-agent': 'CodeQL-Action/2.1.27 octokit-core.js/3.1.2 Node.js/16.13.0 (linux; x64)',
        authorization: 'token [REDACTED]',
        'content-type': 'application/json; charset=utf-8'
      },
      body: '{"commit_oid":"62479c7937ee4484c03849058cc9b2060d75aa7d","ref":"refs/heads/improvment/responsibilities-split","analysis_key":".github/workflows/account.yaml:analyze","analysis_name":"Account","sarif":"H4sIAAAAAAAAA6tWKkstKs7Mz1OyUjLSM9QzUNJRKirNK1ayio6tBQBSlZKzHQAAAA==","workflow_run_id":3183309786,"checkout_uri":"file:///home/runner/work/EDA.CleanArch.DDD.CQRS.EventSourcing/EDA.CleanArch.DDD.CQRS.EventSourcing","environment":"null","started_at":"2022-10-04T15:19:40.[11](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425#step:6:11)0Z","tool_names":[]}',
      request: { agent: [Agent], hook: [Function: bound bound register] }
    },
    documentation_url: 'https://docs.github.com/rest'
  }
github-actions[bot] commented 2 years ago

Internal ticket created : CY-6555

AntonioFalcaoJr commented 2 years ago

Verbose log

Run codacy/codacy-analysis-cli-action@master
  with:
    directory: /src/Services/Account
    verbose: true
    output: results.sarif
    format: sarif
    tool: sonarscharp
    gh-code-scanning-compat: true
    max-allowed-issues: 10
    fail-if-incomplete: true
    run-docker-tools: true
  env:
    DOTNET_ROOT: /home/runner/.dotnet
Run echo "CODACY_BASE_URL_OR_DEFAULT=$(if [  ]; then echo ""; else echo "https://api.codacy.com"; fi)" >> $GITHUB_ENV
Run if [ -n "" ]; then
/home/runner/work/_temp/[2](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:2)10[3](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:3)d693-efa5-[4](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:4)934-98[5](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:5)8-1dfe53f18a8e.sh: line 5: [: =: unary operator expected
Run set -eux
+ '[' '' == true ']'
Skipping GoSec
+ echo 'Skipping GoSec'
Run set -eux
+ '[' '' == true ']'
+ echo 'Skipping StaticCheck'
Skipping StaticCheck
Run set -eux
+ '[' -n '' ']'
+ echo 'Skipping Clang Tidy'
Skipping Clang Tidy
Run set -eux
+ '[' -n '' ']'
Skipping Faux Pas
+ echo 'Skipping Faux Pas'
Run echo "CODACY_ANALYSIS_CLI_VERSION=7.[6](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:6).4" >> $GITHUB_ENV
Run echo "CLI_SCRIPT_PATH=/home/runner/work/_actions/codacy/codacy-analysis-cli-action/master/codacy-analysis-cli.sh" >> $GITHUB_ENV
Run wget -O - https://raw.githubusercontent.com/codacy/codacy-analysis-cli/[7](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:7).6.4/bin/codacy-analysis-cli.sh > /home/runner/work/_actions/codacy/codacy-analysis-cli-action/master/codacy-analysis-cli.sh
--2022-10-04 19:55:23--  https://raw.githubusercontent.com/codacy/codacy-analysis-cli/7.6.4/bin/codacy-analysis-cli.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 1[8](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:8)5.1[9](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:9)9.[10](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:10)9.133, 185.199.[11](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:11)0.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3107 (3.0K) [text/plain]
Saving to: ‘STDOUT’

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

2022-10-04 19:55:23 (11.7 MB/s) - written to stdout [3107/3107]

Run chmod +x /home/runner/work/_actions/codacy/codacy-analysis-cli-action/master/codacy-analysis-cli.sh
Run if [ "true" == "true" ]; then
Unable to find image 'codacy/codacy-analysis-cli:7.6.4' locally
7.6.4: Pulling from codacy/codacy-analysis-cli
df9b9388f04a: Already exists
8cd6bd738ccf: Pulling fs layer
d9819bf6652c: Pulling fs layer
2085f74facc6: Pulling fs layer
d9819bf6652c: Verifying Checksum
d9819bf6652c: Download complete
2085f74facc6: Verifying Checksum
2085f74facc6: Download complete
8cd6bd738ccf: Verifying Checksum
8cd6bd738ccf: Download complete
8cd6bd738ccf: Pull complete
d9819bf6652c: Pull complete
2085f74facc6: Pull complete
Digest: sha256:9f5a65cae[12](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:12)2f10c995dcd157d1b71702d4bad9396c2a53d5a788ccbad9f3891
Status: Downloaded newer image for codacy/codacy-analysis-cli:7.6.4
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:581 - file=null, size changed from -1 to 0 bytes 
10/04 19:55:34 DEBUG o.e.jgit.util.SystemReader:432 - loading config FileBasedConfig[/root/.config/jgit/config] 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:5[13](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:13) - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:581 - file=null, size changed from -1 to 0 bytes 
10/04 19:55:34 DEBUG o.e.jgit.util.SystemReader:432 - loading config FileBasedConfig[/root/.gitconfig] 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/src/Services/Account/.git/config, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/src/Services/Account/.git/config, is unmodified 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified 
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:467 - Thread[Thread-0,5,main]: start measure timestamp resolution /src/Services/Account (/dev/root) in /src/Services/Account 
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:483 - Thread[Thread-0,5,main]: end measure timestamp resolution /src/Services/Account (/dev/root) in /src/Services/Account 
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:365 - FileStoreAttributes[fsTimestampResolution=1,002,000 µs, minimalRacyInterval=0 µs] 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified 
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:467 - Thread[Thread-1,5,main]: start measure timestamp resolution / (overlay) in /root/.config/jgit 
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:483 - Thread[Thread-1,5,main]: end measure timestamp resolution / (overlay) in /root/.config/jgit 
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:365 - FileStoreAttributes[fsTimestampResolution=1,001,000 µs, minimalRacyInterval=0 µs] 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns 
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified 
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:594 - locking FileBasedConfig[/root/.config/jgit/config] failed, retries 1/5 
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:594 - locking FileBasedConfig[/root/.config/jgit/config] failed, retries 2/5 
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:594 - locking FileBasedConfig[/root/.config/jgit/config] failed, retries 3/5 
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:594 - locking FileBasedConfig[/root/.config/jgit/config] failed, retries 4/5 
10/04 19:55:34 WARN  org.eclipse.jgit.util.FS:598 - locking FileBasedConfig[/root/.config/jgit/config] failed after 5 retries 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:272 - file=/root/.config/jgit/config.lock, create new FileSnapshot: lastRead=2022-10-04 19:55:34.559000000, lastModified=2022-10-04 19:55:34.000000000, size=131, fileKey=(dev=37,ino=1048629) 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config.lock, isRacyClean=true, read=2022-10-04 19:55:34.559000000, lastModified=2022-10-04 19:55:34.000000000, delta=559000000 ns, racy<=1251250000 ns 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:564 - file=/root/.config/jgit/config.lock, is racily clean 
10/04 19:55:35 DEBUG o.e.jgit.util.SystemReader:432 - loading config FileBasedConfig[/root/.config/jgit/config] 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:272 - file=/root/.config/jgit/config, create new FileSnapshot: lastRead=2022-10-04 19:55:35.006000000, lastModified=2022-10-04 19:55:34.000000000, size=131, fileKey=(dev=37,ino=1048629) 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config.lock, isRacyClean=true, read=2022-10-04 19:55:35.006000000, lastModified=2022-10-04 19:55:34.000000000, delta=1006000000 ns, racy<=1251250000 ns 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config.lock, isRacyClean=true, read=2022-10-04 19:55:35.006000000, lastModified=2022-10-04 19:55:34.000000000, delta=1006000000 ns, racy<=1251250000 ns 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:564 - file=/root/.config/jgit/config.lock, is racily clean 
10/04 19:55:35 DEBUG o.e.jgit.util.SystemReader:432 - loading config FileBasedConfig[/root/.config/jgit/config] 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:272 - file=/root/.config/jgit/config, create new FileSnapshot: lastRead=2022-10-04 19:55:35.012000000, lastModified=2022-10-04 19:55:34.000000000, size=131, fileKey=(dev=37,ino=1048629) 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config.lock, isRacyClean=true, read=2022-10-04 19:55:35.012000000, lastModified=2022-10-04 19:55:34.000000000, delta=1012000000 ns, racy<=1251250000 ns 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/src/Services/Account/.git/config, isRacyClean=false, read=2022-10-04 19:55:35.009000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913335009000000 ns, racy<=2500000000 ns 
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/src/Services/Account/.git/config, is unmodified 
10/04 19:55:35 INFO  c.c.a.core.files.FileCollector:21 - Failed to list files with com.codacy.analysis.core.files.GitFileCollector 
10/04 19:55:36 DEBUG c.c.a.c.s.FileDataStorage:69 - Saving new values to storage 
10/04 19:55:36 DEBUG c.c.a.c.s.FileDataStorage:73 - Storage saved successfully 
10/04 19:55:36 DEBUG c.c.a.c.s.FileDataStorage:82 - Retrieving storage 
10/04 19:55:38 INFO  c.c.t.r.ToolRepositoryRemote:[14](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:15)7 - Fetched patterns for Sonar C# version 8.39 
10/04 19:55:38 DEBUG c.c.a.c.s.FileDataStorage:69 - Saving new values to storage 
10/04 19:55:39 DEBUG c.c.a.c.s.FileDataStorage:73 - Storage saved successfully 
Run if [  = true ]; then
/home/runner/work/_temp/12c2eff8-fda6-4690-ac55-a0a82635[23](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:25)5f.sh: line [1](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:5:1): [: =: unary operator expected
Skipping results upload
AntonioFalcaoJr commented 2 years ago

any news on this matter?