Skip to content

Commit

Permalink
Upgrade from ubuntu-22.04 to ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-magda committed Oct 17, 2024
1 parent 9da9610 commit fab78da
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android_beta_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
needs: files-changed
if: ${{ needs.files-changed.outputs.android == 'true' || needs.files-changed.outputs.shared == 'true' }}
name: Gradle Wrapper Validation
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
Expand All @@ -41,7 +41,7 @@ jobs:
google-play-deployment:
name: Deploy to Google Play
needs: gradle-wrapper-validation
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
environment: android_production
timeout-minutes: 60

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/android_deploy_to_firebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
environment: android_production
timeout-minutes: 30

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/android_deploy_to_firebase_manually.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# Run Gradle Wrapper Validation Action to verify the wrapper's checksum
gradle-wrapper-validation:
name: Gradle Wrapper Validation
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/android_release_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
gradle-wrapper-validation:
# if: ${{ github.ref == 'refs/heads/main' }}
name: Gradle Wrapper Validation
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
Expand All @@ -33,7 +33,7 @@ jobs:
deployment:
name: Android Release Deployment
needs: gradle-wrapper-validation
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
environment: android_production
timeout-minutes: 60

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto_author_assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
assign-author:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.assignee }}
steps:
- uses: toshimaru/auto-author-assign@v2.1.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
needs: files-changed
if: ${{ github.event_name == 'workflow_dispatch' || needs.files-changed.outputs.android == 'true' }}
name: Build Android Caches
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ defaults:
jobs:
gradle-wrapper-validation:
name: Gradle Wrapper Validation
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
Expand All @@ -59,7 +59,7 @@ jobs:
needs: files-changed
if: ${{ needs.files-changed.outputs.android == 'true' || needs.files-changed.outputs.shared == 'true' }}
name: Run ktlint
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
Expand All @@ -86,7 +86,7 @@ jobs:
needs: files-changed
if: ${{ needs.files-changed.outputs.android == 'true' || needs.files-changed.outputs.shared == 'true' }}
name: Run detekt
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
needs: [files-changed, ktlint, detekt]
if: ${{ needs.files-changed.outputs.shared == 'true' }}
name: Run shared unit tests
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
Expand All @@ -170,7 +170,7 @@ jobs:
needs: [files-changed, ktlint, detekt]
if: ${{ needs.files-changed.outputs.android == 'true' || needs.files-changed.outputs.shared == 'true' }}
name: Run Android unit tests
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup_pr_caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
cleanup:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ on:

jobs:
files-changed:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 5
# Map a step output to a job output
outputs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh_pages_analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
build:
needs: files-changed
if: ${{ inputs.force_build || needs.files-changed.outputs.analytic == 'true' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
Expand All @@ -59,7 +59,7 @@ jobs:

deploy:
needs: build
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 10

environment:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gpt_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
jobs:
code-review:
if: ${{ contains(github.event.*.labels.*.name, 'gpt-review') }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: anc95/ChatGPT-CodeReview@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request_target, issues]

jobs:
greeting:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios_beta_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
needs: files-changed
if: ${{ needs.files-changed.outputs.ios == 'true' || needs.files-changed.outputs.shared == 'true' }}
name: Gradle Wrapper Validation
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios_release_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# Run Gradle Wrapper Validation Action to verify the wrapper's checksum
gradle-wrapper-validation:
name: Gradle Wrapper Validation
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request]

jobs:
label:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge_main_into_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defaults:
jobs:
merge:
name: Git Merge
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
stale:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
Expand Down

0 comments on commit fab78da

Please sign in to comment.