ci: skip tests for version-only pushes, pin runners to ubuntu-24.04

This commit is contained in:
Alireza Ahmadi 2026-10-10 00:46:23 +02:00
parent 98613b2512
commit 685fd794c0
3 changed files with 8 additions and 3 deletions

View file

@ -12,7 +12,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5

View file

@ -37,7 +37,7 @@ jobs:
- 386
- armv5
- s390x
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v5

View file

@ -4,6 +4,11 @@ on:
push:
branches:
- main
# A version bump or a docs change does not need the suite, and running it
# would only cancel the run of the merge it follows.
paths-ignore:
- 'config/version'
- '**.md'
pull_request:
workflow_dispatch:
@ -16,7 +21,7 @@ concurrency:
jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v5