Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build-cli-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
target: aarch64-unknown-linux-musl

# Run Linux builds inside a more modern manylinux container (AlmaLinux 8 based)
# with a newer GLIBC version compatible with Node20 used by actions/checkout@v4
# with a newer GLIBC version compatible with Node20 used by actions/checkout@v5
# container: ${{ contains(matrix._.os, 'ubuntu') && (contains(matrix._.target, 'x86_64') && 'quay.io/pypa/manylinux_2_28_x86_64' || 'ghcr.io/rust-cross/manylinux_2_28-cross:aarch64') || '' }}
runs-on: ${{ matrix._.os }}

Expand All @@ -69,7 +69,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Tools
uses: ./.github/actions/setup-tools
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Setup Go
uses: ./.github/actions/setup-go

- uses: jdx/mise-action@v2
- uses: jdx/mise-action@v3
if: matrix._.os != 'windows-2022'
with:
install_args: "protoc-gen-go"
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:

# Upload the CFFI library for this specific target
- name: Upload CFFI Library Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
# Artifact name uses the target name for uniqueness (as decided previously)
name: libbaml-cffi-${{ matrix._.target }}
Expand Down Expand Up @@ -403,7 +403,7 @@ jobs:
# Upload different artifacts based on mode
- name: Upload CLI artifacts (Release)
if: inputs.package_for_release
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
# Artifact name in GitHub Actions UI remains the same
name: baml-cli-${{ matrix._.target }}
Expand All @@ -413,7 +413,7 @@ jobs:

- name: Upload CLI artifacts (CI)
if: inputs.package_for_release == false
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: baml-cli-${{ matrix._.target }}
path: |
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/build-jetbrains-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Java
uses: ./.github/actions/setup-java

- uses: gradle/actions/setup-gradle@v4
- uses: gradle/actions/setup-gradle@v5

# Set environment variables
- name: Export Properties
Expand All @@ -74,7 +74,7 @@ jobs:
run: ./gradlew buildPlugin

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: baml-jetbrains-zip-${{ steps.properties.outputs.version }}
path: ./jetbrains/build/distributions/*
Expand All @@ -88,7 +88,7 @@ jobs:

# # Check out the current repository
# - name: Fetch Sources
# uses: actions/checkout@v4
# uses: actions/checkout@v5

# # Set up Java environment for the next steps
# - name: Setup Java
Expand All @@ -99,7 +99,7 @@ jobs:

# # Setup Gradle
# - name: Setup Gradle
# uses: gradle/actions/setup-gradle@v4
# uses: gradle/actions/setup-gradle@v5

# # Run tests
# - name: Run Tests
Expand All @@ -108,7 +108,7 @@ jobs:
# # Collect Tests Result of failed tests
# - name: Collect Tests Result
# if: ${{ failure() }}
# uses: actions/upload-artifact@v4
# uses: actions/upload-artifact@v5
# with:
# name: tests-result
# path: ./build/reports/tests
Expand All @@ -130,7 +130,7 @@ jobs:
# pull-requests: write
# steps:
# # Check out the current repository
# - uses: actions/checkout@v4
# - uses: actions/checkout@v5
# with:
# ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
# fetch-depth: 0 # a full history is required for pull request analysis
Expand All @@ -153,7 +153,7 @@ jobs:
# needs: [ build ]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/checkout@v5

# # Set up Java environment for the next steps
# - name: Setup Java
Expand All @@ -164,7 +164,7 @@ jobs:

# # Setup Gradle
# - name: Setup Gradle
# uses: gradle/actions/setup-gradle@v4
# uses: gradle/actions/setup-gradle@v5

# # Cache Plugin Verifier IDEs
# - name: Setup Plugin Verifier IDEs Cache
Expand All @@ -180,7 +180,7 @@ jobs:
# # Collect Plugin Verifier Result
# - name: Collect Plugin Verifier Result
# if: ${{ always() }}
# uses: actions/upload-artifact@v4
# uses: actions/upload-artifact@v5
# with:
# name: pluginVerifier-result
# path: ./build/reports/pluginVerifier
14 changes: 7 additions & 7 deletions .github/workflows/build-python-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,36 +93,36 @@ jobs:
clang -v
cmake --version

- uses: actions/checkout@v4
- uses: actions/checkout@v5

# Setup Python for non-ARM64 Windows targets and other OS
- name: Setup Python (default)
if: matrix._.target != 'aarch64-pc-windows-msvc'
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.8"
architecture: ${{ matrix._.architecture }}

# Setup Python versions for ARM64 Windows
- name: Setup Python 3.11 (ARM64 Windows)
if: matrix._.target == 'aarch64-pc-windows-msvc'
uses: actions/setup-python@v5
uses: actions/setup-python@v6
id: py311
with:
python-version: "3.11"
architecture: "arm64"
allow-prereleases: true
- name: Setup Python 3.12 (ARM64 Windows)
if: matrix._.target == 'aarch64-pc-windows-msvc'
uses: actions/setup-python@v5
uses: actions/setup-python@v6
id: py312
with:
python-version: "3.12"
architecture: "arm64"
allow-prereleases: true
- name: Setup Python 3.13 (ARM64 Windows)
if: matrix._.target == 'aarch64-pc-windows-msvc'
uses: actions/setup-python@v5
uses: actions/setup-python@v6
id: py313
with:
python-version: "3.13"
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
fi

- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v7

- name: Test LICENSE packaging
if: matrix._.license_test != 'skip'
Expand All @@ -171,7 +171,7 @@ jobs:
grep 'baml.*Apache-2.0' license-audit.log >/dev/null

- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: wheels-${{ matrix._.target }}
path: engine/language_client_python/dist
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-ruby-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run:
working-directory: engine/language_client_ruby
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: oxidize-rb/actions/setup-ruby-and-rust@main
with:
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
#################################################################################################################

- name: Upload Ruby artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: gem-${{ matrix._.platform }}
path: engine/language_client_ruby/pkg/*.gem
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-typescript-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

# Check GLIBC version for Linux targets (skip musl targets)
- name: Check GLIBC version
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
working-directory: engine/language_client_typescript

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: bindings-${{ matrix._.target }}
path: engine/language_client_typescript/*.node
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-vscode-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
rust-target: aarch64-unknown-linux-musl
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Tools
uses: ./.github/actions/setup-tools
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
echo "Determined artifact name for ${{ matrix.code-target }}: ${ARTIFACT_NAME}"

- name: Download specific CLI artifact for ${{ matrix.code-target }}
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
name: baml-cli-${{ matrix.rust-target }}
path: cli-artifact-${{ matrix.code-target }}
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
working-directory: typescript/apps/vscode-ext

- name: Upload VSIX artifact for ${{ matrix.code-target }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: baml-vscode-vsix-${{ matrix.code-target }}
path: typescript/apps/vscode-ext/${{ steps.package.outputs.vsix_path }}
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
working-directory: .
- name: Upload Playground Artifact (conditional)
if: matrix.code-target == 'linux-x64'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: playground-dist-${{ inputs.version }}
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integ-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# GOARCH: ${{ matrix._.goarch }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- uses: actions/cache@v4
with:
Expand All @@ -93,7 +93,7 @@ jobs:
- name: Platform-specific setup
run: ${{ matrix._.setup }}

- uses: infisical/[email protected].9
- uses: infisical/[email protected].15
with:
method: oidc
# https://app.infisical.com/organization/identities/5b66a909-d5b3-4835-b518-27abf4c9b97d
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/primary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
[typescript-lint, rust-format, rust-lint, rust-lint-wasm, python-lint]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Tools
uses: ./.github/actions/setup-tools
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Tools
uses: ./.github/actions/setup-tools
Expand All @@ -129,7 +129,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Tools
uses: ./.github/actions/setup-tools
Expand All @@ -149,7 +149,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Tools
uses: ./.github/actions/setup-tools
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
test-suite: [rust-unit, python-integration]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Tools
uses: ./.github/actions/setup-tools
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Tools
uses: ./.github/actions/setup-tools
Expand All @@ -285,7 +285,7 @@ jobs:
run: cargo build --release --bin baml-cli --target ${{ matrix.target }}
working-directory: engine
- name: Upload CLI artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: baml-cli-${{ matrix.target }}
path: engine/target/release/baml-cli*
Expand All @@ -299,12 +299,12 @@ jobs:
if: github.ref == 'refs/heads/canary' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
steps:
- name: Checkout main repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: main-repo

- name: Checkout zed-baml repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: BoundaryML/zed-baml
token: ${{ secrets.ZED_BAML_SYNC_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Node.js and pnpm
uses: ./.github/actions/setup-node
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
working-directory: ../sage-backend
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Node.js and pnpm
uses: ./.github/actions/setup-node
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
working-directory: typescript/apps/sage-backend
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Node.js and pnpm
uses: ./.github/actions/setup-node
Expand Down
Loading
Loading