File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,18 @@ name: 'Setup Project'
22description : ' Setup Bun, cache dependencies, and install packages'
33
44inputs :
5- bun-version :
6- description : ' Bun version to install'
5+ bun-version-file :
6+ description : ' File containing Bun version to install'
77 required : false
8- default : ' 1.3.0 '
8+ default : ' .bun-version '
99
1010runs :
1111 using : ' composite'
1212 steps :
1313 - name : Set up Bun
1414 uses : oven-sh/setup-bun@v2
1515 with :
16- bun-version : ${{ inputs.bun-version }}
16+ bun-version-file : ${{ inputs.bun-version-file }}
1717
1818 - name : Cache dependencies
1919 uses : actions/cache@v4
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ The CI pipeline consists of two main jobs:
4444
4545### Key Configuration
4646
47- - Uses Bun v1.3.0 for all jobs
47+ - Uses Bun version from ` .bun-version` file for all jobs
4848- Tests use retry logic (max 5 attempts, 10 min timeout)
4949- Dependencies are cached between jobs using `actions/cache@v4`
5050- Environment variables are set from GitHub secrets using `scripts/generate-ci-env.ts`
@@ -174,7 +174,7 @@ When running GitHub Actions locally using `act`:
174174 - Ensure all required environment variables are present
175175
1761763. If Bun commands fail :
177- - Check that Bun version in Dockerfile matches CI (1.3.0)
177+ - Check that Bun version in Dockerfile matches `.bun-version` file
178178 - Verify Docker image built successfully
179179 - Try rebuilding the image without cache
180180
You can’t perform that action at this time.
0 commit comments