Skip to content

Commit

Permalink
Lock Ubuntu to 22.04 in github actions (decidim#13513)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecslupu authored Oct 10, 2024
1 parent 9f58c18 commit 02db48e
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/brakeman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- decidim-system
- decidim-templates
- decidim-verifications
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: ${{ matrix.working-directory }}
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
build_app:
name: Build app
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_backporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
backport:
name: "Backporter"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 60
# the below IF structure checks:
# - PR repository must be the official Decidim repository ( decidim/decidim )
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- command: bundle exec parallel_test --type rspec --pattern spec/lib/
name: Lib
name: ${{ matrix.test.name }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ concurrency:
jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:
jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_performance_metrics_monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ concurrency:
jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_production_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ concurrency:
jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- ./.github/run_spelling_check.sh
- npm run linthtml
name: Lint code
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_pr_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
check_title:
name: Check PR title
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: deepakputhraya/action-pr-title@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_pr_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions:
jobs:
check_label:
name: Check PR labels
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: jesusvasquez333/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_docs_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
trigger_documentation_build:
name: Trigger decidim/documentation build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: Send dispatch for trigger_build workflow
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
trigger_docker_build:
name: Trigger decidim/docker build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: Send dispatch for Docker Hub build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
security-events: write
outputs:
followup: ${{ steps.spelling.outputs.followup }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ contains(github.event_name, 'pull_request') || github.event_name == 'push' }}
concurrency:
group: spelling-${{ github.event.pull_request.number || github.ref }}
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
contents: write
pull-requests: write
actions: read
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{
github.repository_owner != 'decidim' &&
github.event_name == 'issue_comment' &&
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ on:
jobs:
build_app:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:
jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
services:
postgres:
Expand Down

0 comments on commit 02db48e

Please sign in to comment.