RequestMapping codemod (#142) #877
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Checks and Tests | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
env: | |
ORG_GRADLE_PROJECT_pixeeArtifactoryUsername: ${{ vars.PIXEE_ARTIFACTORY_USERNAME }} | |
ORG_GRADLE_PROJECT_pixeeArtifactoryPassword: ${{ secrets.PIXEE_ARTIFACTORY_PASSWORD }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install Semgrep | |
run: python3 -m pip install semgrep==1.15.0 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: check --stacktrace | |
cache-read-only: ${{ github.ref != 'refs/heads/main' }} | |
# - name: "Archives Test Repo" | |
# if: always() | |
# run: | | |
# mkdir target | |
# tar czvf target/webgoat-temp.tar.gz /tmp/WebGoat* | |
# - name: Archive build results | |
# uses: actions/upload-artifact@v3 | |
# if: always() | |
# with: | |
# name: build-reports | |
# path: 'target/**/*' |