Skip to content

Commit

Permalink
RALP-4865 Use ubuntu-22.04 instead of ubuntu-latest (#2000)
Browse files Browse the repository at this point in the history
Co-authored-by: Alejandro Rosas <[email protected]>
  • Loading branch information
alejandrorosas and alejandrorosas authored Jul 1, 2024
1 parent 30a8fdf commit 8363c0d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ jobs:
- name: Run UIKit tests
run: ./scripts/ci uikit test
continue-on-error: ${{inputs.retake_snapshots}}

- name: Run SwiftUI tests
run: ./scripts/ci swiftui test
continue-on-error: ${{inputs.retake_snapshots}}

- name: Check snapshot changes
id: checkSnapshotChanges
run: changedFiles=`git status --porcelain` && echo "didChangeFiles=${changedFiles//$'\n'/'%0A'}" >> $GITHUB_OUTPUT
Expand All @@ -83,7 +83,7 @@ jobs:
NotifyChanges:
name: "Notify about changes made"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [TestPods]
if: ${{ needs.TestPods.outputs.changed-files != '' && inputs.retake_snapshots}}
steps:
Expand All @@ -97,4 +97,4 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
body: body
})
})
2 changes: 1 addition & 1 deletion .github/workflows/label-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
label-check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: ./.github/workflows/_build-docs.yml

ReleaseDraft:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write
pull-requests: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: ./.github/workflows/_build-docs.yml

Dependabot:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
pull-requests: write
if: ${{ github.actor == 'dependabot[bot]' }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Publish Pods - Backpack Common
run: |
set -eo pipefail
bundle exec pod trunk push Backpack-Common.podspec --allow-warnings --skip-tests --synchronous
bundle exec pod trunk push Backpack-Common.podspec --allow-warnings --skip-tests --synchronous
bundle exec pod repo update
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
Expand All @@ -54,7 +54,7 @@ jobs:
uses: actions/checkout@v4
with:
ref: main

- name: Set up node and ruby
uses: asdf-vm/actions/install@v3 # Sets ruby and node version via `.tool-versions`

Expand Down Expand Up @@ -140,10 +140,10 @@ jobs:
keep_files: true
external_repository: backpack/ios
publish_branch: main

SupernovaPublish:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
environment: Publishing
steps:
- name: Update Supernova docs
run: npx @supernovaio/cli publish-documentation --apiKey=${{ secrets.SUPERNOVA_API_KEY }} --designSystemId=${{ secrets.SUPERNOVA_DESIGN_SYSTEM_ID }}
run: npx @supernovaio/cli publish-documentation --apiKey=${{ secrets.SUPERNOVA_API_KEY }} --designSystemId=${{ secrets.SUPERNOVA_DESIGN_SYSTEM_ID }}
4 changes: 2 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
CheckCommitMessage:
name: Check commit message
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
head-commit-message: ${{ steps.get_head_commit_message.outputs.headCommitMsg }}
steps:
Expand All @@ -28,4 +28,4 @@ jobs:
if: ${{ needs.CheckCommitMessage.outputs.head-commit-message == 'Record snapshots' }}
uses: ./.github/workflows/_test.yml
with:
retake_snapshots: true
retake_snapshots: true

0 comments on commit 8363c0d

Please sign in to comment.