Update Bun version to 1.3.4 and standardize quotes in workflow files

- Changed Bun version from 'latest' to '1.3.4' in setup actions.
- Updated macOS host version from 'macos-13' to 'macos-15-intel' across multiple workflow files.
- Standardized quotes in YAML files for consistency.
This commit is contained in:
Jamie Pine
2025-12-10 15:32:25 -08:00
parent 00c98bde24
commit d03e277296
4 changed files with 14 additions and 14 deletions

View File

@@ -176,7 +176,7 @@ runs:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
bun-version: "1.3.4"
- name: Install dependencies
shell: ${{ runner.os == 'Windows' && 'powershell' || 'bash' }}

View File

@@ -8,10 +8,10 @@ on:
branches:
- main
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
pull_request:
paths:
- '.github/workflows/cache-factory.yaml'
- ".github/workflows/cache-factory.yaml"
workflow_dispatch:
# Cancel previous runs of the same workflow on the same branch.
@@ -32,7 +32,7 @@ jobs:
fail-fast: true
matrix:
settings:
- host: macos-13
- host: macos-15-intel
target: x86_64-apple-darwin
- host: macos-14
target: aarch64-apple-darwin
@@ -50,7 +50,7 @@ jobs:
# target: aarch64-unknown-linux-musl
# - host: ubuntu-22.04
# target: armv7-unknown-linux-gnueabihf
name: 'Make Cache'
name: "Make Cache"
runs-on: ${{ matrix.settings.host }}
if: github.repository == 'spacedriveapp/spacedrive'
permissions: {}
@@ -62,10 +62,10 @@ jobs:
with:
swap-size-mb: 4096
root-reserve-mb: 6144
remove-dotnet: 'true'
remove-codeql: 'true'
remove-haskell: 'true'
remove-docker-images: 'true'
remove-dotnet: "true"
remove-codeql: "true"
remove-haskell: "true"
remove-docker-images: "true"
- name: Checkout repository
uses: actions/checkout@v4
@@ -82,7 +82,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
target: ${{ matrix.settings.target }}
save-cache: 'true'
save-cache: "true"
- name: Compile tests (debug)
run: cargo test --workspace --all-features --no-run --locked --target ${{ matrix.settings.target }}

View File

@@ -93,7 +93,7 @@ jobs:
fail-fast: false # Don't cancel other platforms if one fails
matrix:
settings:
- host: macos-13
- host: macos-15-intel
target: x86_64-apple-darwin
- host: macos-14
target: aarch64-apple-darwin
@@ -276,7 +276,7 @@ jobs:
if: steps.filter.outcome != 'success' || steps.filter.outputs.changes == 'true'
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
bun-version: "1.3.4"
- name: Install dependencies
if: steps.filter.outcome != 'success' || steps.filter.outputs.changes == 'true'

View File

@@ -22,7 +22,7 @@ jobs:
- host: macos-14
target: aarch64-apple-darwin
platform: macos-aarch64
- host: macos-13
- host: macos-15-intel
target: x86_64-apple-darwin
platform: macos-x86_64
# Linux builds
@@ -100,7 +100,7 @@ jobs:
strategy:
matrix:
settings:
- host: macos-13
- host: macos-15-intel
target: x86_64-apple-darwin
bundles: dmg,app
os: darwin