From 236e347da2e0c9a1ad532a3d8f436b449a031b57 Mon Sep 17 00:00:00 2001 From: Erik Rasmussen Date: Tue, 25 Jun 2024 06:52:33 +0000 Subject: [PATCH] Updated Bun version reference in GitHub actions (#224) The Bun version reference has been updated across multiple GitHub action workflows. Instead of hardcoding the version number, we now refer to it from the package.json file. This change will make maintaining and updating the Bun version more manageable and less error-prone. --- .github/actions/build-bun/action.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/cli-um.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/build-bun/action.yml b/.github/actions/build-bun/action.yml index 8f89ae2f..665d4326 100644 --- a/.github/actions/build-bun/action.yml +++ b/.github/actions/build-bun/action.yml @@ -12,7 +12,7 @@ runs: - name: Setup Bun uses: oven-sh/setup-bun@v2 with: - bun-version: 1.1.17 + bun-version-file: package.json - name: Restore dependencies shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 007b621a..10e2dd34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: - name: Setup Bun uses: oven-sh/setup-bun@v2 with: - bun-version: 1.1.17 + bun-version-file: package.json - run: bun install --frozen-lockfile @@ -45,7 +45,7 @@ jobs: - name: Setup Bun uses: oven-sh/setup-bun@v2 with: - bun-version: 1.1.17 + bun-version-file: package.json - run: bun install --frozen-lockfile - run: bun lint:md diff --git a/.github/workflows/cli-um.yml b/.github/workflows/cli-um.yml index cd52b7af..d900c157 100644 --- a/.github/workflows/cli-um.yml +++ b/.github/workflows/cli-um.yml @@ -51,7 +51,7 @@ jobs: - name: Setup Bun uses: oven-sh/setup-bun@v2 with: - bun-version: 1.1.17 + bun-version-file: package.json - name: Bun install run: bun install --frozen-lockfile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3781310..fb4e62f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Setup Bun uses: oven-sh/setup-bun@v2 with: - bun-version: 1.1.17 + bun-version-file: package.json - name: Restore dependencies working-directory: packages/${{ matrix.tool }}