File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,10 @@ jobs:
2020 with :
2121 node-version : ' 18' # Choose your Node.js version
2222
23- - name : Run Codacy Analysis CLI with Docker (optional)
24- run : |
25- export CODACY_CODE=$GITHUB_WORKSPACE
26- docker run \
27- --rm=true \
28- --env CODACY_CODE="$CODACY_CODE" \
29- --volume /var/run/docker.sock:/var/run/docker.sock \
30- --volume "$CODACY_CODE":"$CODACY_CODE" \
31- --volume /tmp:/tmp \
32- codacy/codacy-analysis-cli \
33- analyze --tool eslint --upload --project-token ${{ secrets.CODACY_PROJECT_TOKEN }} --max-allowed-issues 99999 --commit-uuid $GITHUB_SHA
23+ - name : Run Codacy CLI
24+ uses : codacy/codacy-cli-v2-action@main
25+ with :
26+ project-token : ${{ secrets.CODACY_PROJECT_TOKEN }}
3427
3528 - name : Install dependencies
3629 run : |
You can’t perform that action at this time.
0 commit comments