Skip to content

Commit

Permalink
Update dependency ubuntu to v24 (#439)
Browse files Browse the repository at this point in the history
* Update dependency ubuntu to v24

* Try fixing sandbox issue

* disable kernel.apparmor_restrict_unprivileged_userns

* sudo?

* comment

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Parini <robert.parini@gmail.com>
  • Loading branch information
renovate[bot] and rparini authored Dec 24, 2024
1 parent bef22a2 commit 68aaf92
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/actions/build-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ runs:
- name: Install dependencies
shell: bash
run: pip install . -r requirements_doc.txt
- name: Fix sandbox "The SUID sandbox helper binary was found, but is not configured correctly"
shell: bash
run: |
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- name: Build documentation
shell: bash
working-directory: docs_src
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
codeql:
name: CodeQL
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run-ruff-format:
permissions:
contents: write
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:

test:
needs: deploy
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
python-version:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
ruff:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
Expand All @@ -28,7 +28,7 @@ jobs:
ruff format --check
pyright:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Python ${{ env.latest_python }}
Expand All @@ -40,7 +40,7 @@ jobs:
- run: pyright cxroots

test:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
path-to-lcov: coverage.lcov

test-docs:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
Expand Down

0 comments on commit 68aaf92

Please sign in to comment.