diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index e37f5bf..e229218 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -48,6 +48,8 @@ jobs: ls -la echo "Sample files:" find . -maxdepth 2 -type f | head -n 20 + echo "Check files inside scanner container:" + docker run --rm -v "$PWD:/usr/src" -w /usr/src alpine sh -c "ls -la /usr/src | head && find /usr/src -maxdepth 2 -type f -name '*.js' | head -n 20" docker run --rm \ -e SONAR_HOST_URL="$HOST_URL" \ -e SONAR_TOKEN="$SONAR_TOKEN" \ @@ -58,7 +60,6 @@ jobs: -Dsonar.host.url="$HOST_URL" \ -Dsonar.projectKey="$PROJECT_KEY" \ -Dsonar.sources=. \ - "-Dsonar.inclusions=**/*.js" \ -Dsonar.scm.disabled=true \ -Dsonar.projectBaseDir=/usr/src