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:
2
.github/workflows/auto-author-assign.yml
vendored
2
.github/workflows/auto-author-assign.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/db_schema.yml
vendored
2
.github/workflows/db_schema.yml
vendored
@@ -12,7 +12,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
schema:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:13.16
|
||||
|
||||
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/linters.yml
vendored
2
.github/workflows/linters.yml
vendored
@@ -6,7 +6,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
linters:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
||||
2
.github/workflows/pronto.yml
vendored
2
.github/workflows/pronto.yml
vendored
@@ -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
|
||||
|
||||
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user