Use Ubuntu 24.04 in our workflows

This is what github actions currently uses when using ubuntu-latest, and
what we recommend for new Consul Democracy installations.
This commit is contained in:
Javi Martín
2024-10-14 13:50:31 +02:00
parent 26ebe619e3
commit 13481fdf32
6 changed files with 9 additions and 7 deletions

View File

@@ -11,6 +11,6 @@ jobs:
assign-author:
name: Auto-assign pull request author
if: github.repository_owner == 'consuldemocracy'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: toshimaru/auto-author-assign@v2.1.1

View File

@@ -12,7 +12,7 @@ permissions:
jobs:
schema:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
services:
postgres:
image: postgres:13.16

View File

@@ -6,7 +6,7 @@ permissions:
jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4

View File

@@ -6,7 +6,7 @@ permissions:
jobs:
linters:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:

View File

@@ -3,7 +3,7 @@ on: [pull_request]
jobs:
pronto:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name && github.actor != 'dependabot[bot]'
steps:
- name: Checkout code

View File

@@ -15,7 +15,7 @@ env:
jobs:
tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 60
services:
postgres:
@@ -46,6 +46,8 @@ jobs:
node-version-file: ".node-version"
- name: Install node packages
run: npm clean-install
- name: Install ImageMagick
run: sudo apt-get install imagemagick
- name: Copy secrets and database files
run: for i in config/*.example; do cp "$i" "${i/.example}"; done
- name: Setup database
@@ -76,7 +78,7 @@ jobs:
coveralls:
permissions:
contents: none
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: tests
steps:
- name: Finish coveralls