Skip to content

Commit

Permalink
ci: disable AppArmor to allow Chrome sandbox (#511)
Browse files Browse the repository at this point in the history
Fixes #512
  • Loading branch information
igolaizola authored Jan 29, 2025
1 parent 11bda98 commit 3e183a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Disable AppArmor
if: runner.os == 'Linux'
run: |
# Disable AppArmor for Ubuntu 23.10+.
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
Expand Down

0 comments on commit 3e183a9

Please sign in to comment.