Skip to content

Commit 52337a3

Browse files
committed
chore: explicitly setup env
1 parent 23424d5 commit 52337a3

File tree

1 file changed

+24
-27
lines changed

1 file changed

+24
-27
lines changed

src/setup.ts

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,22 +1261,21 @@ ${generateComposerSetupSteps()}
12611261
if: \${{ needs.determine-jobs.outputs.run_check == 'true' }}
12621262
12631263
steps:
1264-
- name: Restore workspace
1265-
uses: actions/cache/restore@v4
1266-
with:
1267-
path: |
1268-
.
1269-
!.git
1270-
key: buddy-bot-workspace-\${{ github.sha }}
1271-
fail-on-cache-miss: true
1272-
12731264
- name: Checkout repository
12741265
uses: actions/checkout@v4
12751266
with:
12761267
token: ${tokenEnv}
12771268
fetch-depth: 0
12781269
persist-credentials: true
12791270
1271+
- name: Setup Bun
1272+
uses: oven-sh/setup-bun@v2
1273+
with:
1274+
bun-version: latest
1275+
1276+
- name: Install dependencies
1277+
run: bun install
1278+
12801279
- name: Configure Git
12811280
run: |
12821281
git config --global user.name "github-actions[bot]"
@@ -1344,22 +1343,21 @@ ${generateComposerSetupSteps()}
13441343
if: \${{ needs.determine-jobs.outputs.run_update == 'true' }}
13451344
13461345
steps:
1347-
- name: Restore workspace
1348-
uses: actions/cache/restore@v4
1349-
with:
1350-
path: |
1351-
.
1352-
!.git
1353-
key: buddy-bot-workspace-\${{ github.sha }}
1354-
fail-on-cache-miss: true
1355-
13561346
- name: Checkout repository
13571347
uses: actions/checkout@v4
13581348
with:
13591349
token: ${tokenEnv}
13601350
fetch-depth: 0
13611351
persist-credentials: true
13621352
1353+
- name: Setup Bun
1354+
uses: oven-sh/setup-bun@v2
1355+
with:
1356+
bun-version: latest
1357+
${generateComposerSetupSteps()}
1358+
- name: Install dependencies
1359+
run: bun install
1360+
13631361
- name: Configure Git
13641362
run: |
13651363
git config --global user.name "github-actions[bot]"
@@ -1474,20 +1472,19 @@ ${generateComposerSetupSteps()}
14741472
if: \${{ needs.determine-jobs.outputs.run_dashboard == 'true' && always() }}
14751473
14761474
steps:
1477-
- name: Restore workspace
1478-
uses: actions/cache/restore@v4
1479-
with:
1480-
path: |
1481-
.
1482-
!.git
1483-
key: buddy-bot-workspace-\${{ github.sha }}
1484-
fail-on-cache-miss: true
1485-
14861475
- name: Checkout repository
14871476
uses: actions/checkout@v4
14881477
with:
14891478
token: ${tokenEnv}
14901479
1480+
- name: Setup Bun
1481+
uses: oven-sh/setup-bun@v2
1482+
with:
1483+
bun-version: latest
1484+
1485+
- name: Install dependencies
1486+
run: bun install
1487+
14911488
- name: Display dashboard configuration
14921489
run: |
14931490
echo "📊 **Buddy Bot Dashboard Management**"

0 commit comments

Comments
 (0)