Skip to content

Commit

Permalink
build: use setup-caches with self-install proto on GH runners
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Nov 15, 2024
1 parent d5b6e64 commit 8ea5a8b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test-libs-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
FORCE_COLOR: 3
CI_OS: ubuntu-22.04

runs-on: [ledger-live-4xlarge]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -36,6 +36,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
Expand Down Expand Up @@ -73,7 +74,7 @@ jobs:
FORCE_COLOR: 3
CI_OS: ubuntu-22.04

runs-on: [ledger-live-4xlarge]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -83,6 +84,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
Expand Down Expand Up @@ -117,7 +119,7 @@ jobs:
test-docs:
name: "Test Docs"
runs-on: [ledger-live-4xlarge]
runs-on: ubuntu-22.04
outputs:
fail: ${{ steps.diff.outputs.diff }}
steps:
Expand All @@ -128,6 +130,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-web-tools-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
env:
NODE_OPTIONS: "--max-old-space-size=7168"
FORCE_COLOR: 3
runs-on: [ledger-live-4xlarge]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -30,6 +30,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
Expand Down

0 comments on commit 8ea5a8b

Please sign in to comment.