]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: migrate 3 linter jobs to arm64
authorViktor Szakats <commit@vsz.me>
Thu, 22 Jan 2026 22:01:42 +0000 (23:01 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 22 Jan 2026 22:44:47 +0000 (23:44 +0100)
Also to make them finish as fast or overall faster.

checkdocs/proselint:
before: https://github.com/curl/curl/actions/runs/21255607528/job/61169136666 22s
after: https://github.com/curl/curl/actions/runs/21266680535/job/61207470652?pr=20403 19s

checksrc/spellcheck, linters, REUSE:
before: https://github.com/curl/curl/actions/runs/21255607522/job/61169137076 3m11s
after: https://github.com/curl/curl/actions/runs/21266680282/job/61207475282?pr=20403 2m27s
typos: 13s -> 28s
pytype: 2m24s -> 1m24s

checksrc/misc checks:
before: https://github.com/curl/curl/actions/runs/21255607522/job/61169137176 2m29s
after: https://github.com/curl/curl/actions/runs/21266680282/job/61207475248?pr=20403 2m5s
shellcheck: seems larger and slower on arm64. 33 -> 45MB, 1s -> 3s
badwords: 2m1s -> 1m35s

Closes #20403

.github/workflows/checkdocs.yml
.github/workflows/checksrc.yml

index 4c09122552553a08bec7433c1a65084dc3d6f27a..cfce5d9126e844ceee7f34e4122e014abd8ec50e 100644 (file)
@@ -38,7 +38,7 @@ jobs:
   # config file help: https://github.com/amperser/proselint/
   proselint:
     name: 'proselint'
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04-arm
     steps:
       - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
         with:
index 4c0a5909b925b01d7bd316f15f90a055afba7b95..90bd62f19ca96c9b8c98d09c65d18bc05c46eeec 100644 (file)
@@ -43,7 +43,7 @@ jobs:
 
   linters:
     name: 'spellcheck, linters, REUSE'
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04-arm
     steps:
       - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
         with:
@@ -135,7 +135,7 @@ jobs:
 
   miscchecks:
     name: 'misc checks'
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04-arm
     timeout-minutes: 5
     steps:
       - name: 'install prereqs'