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:
|
assign-author:
|
||||||
name: Auto-assign pull request author
|
name: Auto-assign pull request author
|
||||||
if: github.repository_owner == 'consuldemocracy'
|
if: github.repository_owner == 'consuldemocracy'
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: toshimaru/auto-author-assign@v2.1.1
|
- 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:
|
jobs:
|
||||||
schema:
|
schema:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:13.16
|
image: postgres:13.16
|
||||||
|
|||||||
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -6,7 +6,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
2
.github/workflows/linters.yml
vendored
2
.github/workflows/linters.yml
vendored
@@ -6,7 +6,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linters:
|
linters:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
2
.github/workflows/pronto.yml
vendored
2
.github/workflows/pronto.yml
vendored
@@ -3,7 +3,7 @@ on: [pull_request]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pronto:
|
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]'
|
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name && github.actor != 'dependabot[bot]'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -15,7 +15,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
@@ -46,6 +46,8 @@ jobs:
|
|||||||
node-version-file: ".node-version"
|
node-version-file: ".node-version"
|
||||||
- name: Install node packages
|
- name: Install node packages
|
||||||
run: npm clean-install
|
run: npm clean-install
|
||||||
|
- name: Install ImageMagick
|
||||||
|
run: sudo apt-get install imagemagick
|
||||||
- name: Copy secrets and database files
|
- name: Copy secrets and database files
|
||||||
run: for i in config/*.example; do cp "$i" "${i/.example}"; done
|
run: for i in config/*.example; do cp "$i" "${i/.example}"; done
|
||||||
- name: Setup database
|
- name: Setup database
|
||||||
@@ -76,7 +78,7 @@ jobs:
|
|||||||
coveralls:
|
coveralls:
|
||||||
permissions:
|
permissions:
|
||||||
contents: none
|
contents: none
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: tests
|
needs: tests
|
||||||
steps:
|
steps:
|
||||||
- name: Finish coveralls
|
- name: Finish coveralls
|
||||||
|
|||||||
Reference in New Issue
Block a user