Skip to content

Commit

Permalink
fix: Disable apparmor_restrict_unprivileged_userns on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Jan 20, 2025
1 parent 20d1c93 commit 8781843
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
go-version-file: go.mod
check-latest: true

- name: Disable apparmor_restrict_unprivileged_userns # ref: https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

- name: Check oldstable
uses: k1LoW/oldstable@v1

- name: Set up Chrome
uses: browser-actions/setup-chrome@latest

- name: Run tests
run: make ci

Expand All @@ -48,10 +48,10 @@ jobs:
go-version-file: go.mod
check-latest: true

- name: Set up Chrome
uses: browser-actions/setup-chrome@latest
- name: Disable apparmor_restrict_unprivileged_userns # ref: https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

- name: Run tests
- name: Run tests --race
run: make race
lint:
name: Lint
Expand Down

0 comments on commit 8781843

Please sign in to comment.