]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: use `ubuntu-slim` image in 3 jobs
authorViktor Szakats <commit@vsz.me>
Sun, 25 Jan 2026 16:49:24 +0000 (17:49 +0100)
committerViktor Szakats <commit@vsz.me>
Sun, 25 Jan 2026 17:54:12 +0000 (18:54 +0100)
For small jobs using no parallelism, and which still use x64 for faster
`apt install`. x64 1-core (vs. 4), 5GB RAM (vs. 16), no Linuxbrew,
no arm64.

Refs:
https://docs.github.com/en/actions/reference/runners/github-hosted-runners
https://github.blog/changelog/2026-01-22-1-vcpu-linux-runner-now-generally-available-in-github-actions/
https://github.com/actions/runner-images/blob/285cf722f0145c477f7a65d4e822515500c10382/images/ubuntu-slim/ubuntu-slim-Readme.md

Closes #20431

.github/workflows/checksrc.yml
.github/workflows/label.yml

index 90bd62f19ca96c9b8c98d09c65d18bc05c46eeec..7d9490265535418f3ba1eea1645ea0c827373336 100644 (file)
@@ -97,7 +97,7 @@ jobs:
 
   complexity:
     name: 'complexity'
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     timeout-minutes: 3
     steps:
       - name: 'install pmccabe'
@@ -116,7 +116,7 @@ jobs:
 
   xmllint:
     name: 'xmllint'
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     timeout-minutes: 3
     steps:
       - name: 'install prereqs'
index 0c169e607573e6b7b259426c14bc82d29494b6ed..7e0ae094ee8f2cc35cc55295dc3d723c8814655e 100644 (file)
@@ -22,7 +22,7 @@ permissions: {}
 jobs:
   label:
     name: 'Labeler'
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     permissions:
       contents: read        # To comply with https://github.com/actions/labeler documentation
       pull-requests: write  # To edit labels on PRs