Skip to content

Commit 9721a35

Browse files
Merge pull request #140 from salesforcecli/ew/wireit-cache-2
W-18302796: update to wire action v2
2 parents 9520cae + a8e29d0 commit 9721a35

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

.github/workflows/nut.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565

6666
- uses: actions/checkout@v4
6767

68-
# - uses: google/wireit@setup-github-actions-caching/v2
69-
# continue-on-error: true
68+
- uses: google/wireit@setup-github-actions-caching/v2
69+
continue-on-error: true
7070

7171
- uses: actions/setup-node@v4
7272
with:
@@ -91,6 +91,12 @@ jobs:
9191
- uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main
9292
if: ${{ steps.cache-nodemodules.outputs.cache-hit != 'true' }}
9393

94+
# This is a temporary workaround to ensure wireit is >= 0.14.12
95+
# Once all plugins/libs that use this workflow are updated, this can be removed
96+
# See: https://github.com/google/wireit/issues/1297#issuecomment-2794737569
97+
- name: Install wireit
98+
run: yarn add wireit@^0.14.12
99+
94100
- run: yarn compile
95101

96102
- name: Check that oclif config exists

.github/workflows/unitTestsLinux.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
node-version: ${{ matrix.node_version }}
3939
cache: yarn
4040

41-
# - uses: google/wireit@setup-github-actions-caching/v2
42-
# continue-on-error: true
41+
- uses: google/wireit@setup-github-actions-caching/v2
42+
continue-on-error: true
4343

4444
- name: Cache node modules
4545
id: cache-nodemodules
@@ -53,6 +53,12 @@ jobs:
5353
- uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main
5454
if: ${{ steps.cache-nodemodules.outputs.cache-hit != 'true' }}
5555

56+
# This is a temporary workaround to ensure wireit is >= 0.14.12
57+
# Once all plugins/libraries that use this workflow are updated, this can be removed
58+
# See: https://github.com/google/wireit/issues/1297#issuecomment-2794737569
59+
- name: Install wireit
60+
run: yarn add wireit@^0.14.12
61+
5662
- run: yarn build
5763

5864
- name: yarn test

.github/workflows/unitTestsWindows.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525

2626
- uses: actions/checkout@v4
2727

28-
# - uses: google/wireit@setup-github-actions-caching/v2
29-
# continue-on-error: true
28+
- uses: google/wireit@setup-github-actions-caching/v2
29+
continue-on-error: true
3030

3131
- uses: actions/setup-node@v4
3232
with:
@@ -45,6 +45,12 @@ jobs:
4545
- uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main
4646
if: ${{ steps.cache-nodemodules.outputs.cache-hit != 'true' }}
4747

48+
# This is a temporary workaround to ensure wireit is >= 0.14.12
49+
# Once all plugins/libraries that use this workflow are updated, this can be removed
50+
# See: https://github.com/google/wireit/issues/1297#issuecomment-2794737569
51+
- name: Install wireit
52+
run: yarn add wireit@^0.14.12
53+
4854
- run: yarn build
4955

5056
- name: yarn test

0 commit comments

Comments
 (0)