Skip to content

Commit

Permalink
Merge pull request #88 from Doist/goncalossilva/update-github-codeql-…
Browse files Browse the repository at this point in the history
…action-upload-sarif-v3
  • Loading branch information
goncalossilva authored Jan 29, 2025
2 parents 461a021 + ddd48ec commit fc16fd9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/analyze-detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
JARFILE="$(mktemp -d)/detekt.jar"
curl --request GET \
--url https://github.com/detekt/detekt/releases/download/v1.17.1/detekt-cli-1.17.1-all.jar \
--url https://github.com/detekt/detekt/releases/download/v1.23.7/detekt-cli-1.23.7-all.jar \
--silent \
--location \
--output $JARFILE
Expand All @@ -32,7 +32,7 @@ jobs:
--input ${{ github.workspace }} \
--report sarif:${{ github.workspace }}/detekt.sarif.json
- name: Upload results
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ github.workspace }}/detekt.sarif.json
checkout_path: ${{ github.workspace }}
5 changes: 5 additions & 0 deletions .github/workflows/test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y libunistring-dev libc6-dev-i386
if: runner.os == 'Linux'
- run: |
# Avoid "No usable sandbox" errors on Ubuntu, based on the instructions found here:
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
if: runner.os == 'Linux'
- run: ./gradlew assemble check
env:
ORG_GRADLE_PROJECT_targets: ${{ matrix.targets }}
Expand Down

0 comments on commit fc16fd9

Please sign in to comment.