Skip to content

Commit

Permalink
See #61. Fix shellcheck (#62)
Browse files Browse the repository at this point in the history
* Fix bugs in sast.yml file
  • Loading branch information
masciotta02 authored Oct 9, 2024
1 parent 9461bca commit 67956c0
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/sast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Test
run: |
echo UID=$(id -u) >> .env
docker run --rm --user=$(id -u) \
-v "${PWD}:/code" \
-w /code \
-e MAVEN_OPTS=" -ntp " \
-e RUN_OWASP_DEPENDENCY_CHECK=false \
-e RUN_SPOTBUGS_CHECK=false \
-e RUN_SPOTLESS_CHECK=false \
-e RUN_SPOTLESS_APPLY=true \
-e HOME=/tmp \
-e USER=nobody \
-e BANDIT_CONFIG_FILE=/code/.bandit.yaml \
ghcr.io/par-tec/super-sast:latest
- uses: actions/checkout@v3
- name: Test
run: |
echo UID="$(id -u)" >> .env
docker run --rm --user="$(id -u)" \
-v "${PWD}:/code" \
-w /code \
-e MAVEN_OPTS=" -ntp " \
-e RUN_OWASP_DEPENDENCY_CHECK=false \
-e RUN_SPOTBUGS_CHECK=false \
-e RUN_SPOTLESS_CHECK=false \
-e RUN_SPOTLESS_APPLY=true \
-e HOME=/tmp \
-e USER=nobody \
-e BANDIT_CONFIG_FILE=/code/.bandit.yaml \
ghcr.io/par-tec/super-sast:latest

0 comments on commit 67956c0

Please sign in to comment.