Skip to contentSkip to conversation

.github/workflows: pin run_tests to ubuntu 24.04

PATCH In review Stephen Smalley 1 participant 3 messages Nov 19 – Nov 20 SELinux security module

lore
Share & tools
lore

Stephen Smalley

author maintainer
#0 lore raw

PATCH 1/2 .github/workflows: pin run_tests to ubuntu 24.04

ubuntu-latest has been updated to 26.04
but this breaks the CI test matrix. Pin
to 24.04 until we can resolve the
breakage.

---
 .github/workflows/run_tests.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.github/workflows/run_tests.yml +1 -1
index 8ff1092f..b9270492 100644
@@ -5,7 +5,7 @@ on: [push, pull_request]
 jobs:
   build:
 
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04
     strategy:
       matrix:
         compiler: [gcc, clang]
Signature · 1 line
2.47.3
author maintainer
#1 lore raw

PATCH 2/2 .github: bump to latest actions versions

Bump to the latest versions of the
setup-python and checkout actions to
silence the Node20 deprecation warnings.

---
 .github/actions/build-userspace/action.yml | 2 +-
 .github/workflows/check_format.yml         | 2 +-
 .github/workflows/run_tests.yml            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
.github/actions/build-userspace/action.yml +1 -1
index 941c1345..46e67bd3 100644
@@ -25,7 +25,7 @@ runs:
   using: composite
   steps:
     - name: Set up Python ${{ inputs.python-version }}
-      uses: actions/setup-python@v5
+      uses: actions/setup-python@v7
       with:
         python-version: ${{ inputs.python-version }}
 
.github/workflows/check_format.yml +1 -1
index be85972b..2f6a97e0 100644
@@ -8,7 +8,7 @@ jobs:
     container:
       image: fedora:latest
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v7
       - name: Install tools
         run: dnf install -y make clang-tools-extra
       - name: Check format
.github/workflows/run_tests.yml +1 -1
index b9270492..445ccd2c 100644
@@ -39,7 +39,7 @@ jobs:
             python-ruby-version: {python: '3.13', ruby: '3.3', other: 'sanitizers'}
 
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v7
 
     - name: Build userspace
       uses: ./.github/actions/build-userspace
Signature · 1 line
2.47.3