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
28 changes: 14 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# Flag for codegen changes
codegen: ${{ steps.check_codegen.outputs.changed }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand All @@ -172,7 +172,7 @@ jobs:
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/canary' }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/canary' }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:

- name: "Upload test results on failure"
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: test-failures-linux
path: |
Expand All @@ -254,7 +254,7 @@ jobs:
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/canary' }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/canary' }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down Expand Up @@ -314,7 +314,7 @@ jobs:
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/canary' }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/canary' }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
needs: determine_changes
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/canary' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand All @@ -407,7 +407,7 @@ jobs:
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/canary' }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down Expand Up @@ -440,7 +440,7 @@ jobs:

- name: "Upload snapshot failures"
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: snapshot-failures
path: |
Expand All @@ -465,7 +465,7 @@ jobs:
timeout-minutes: 20
steps:
- name: "Checkout Branch"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

Expand All @@ -487,7 +487,7 @@ jobs:
working-directory: baml_language

- name: "Run benchmarks"
uses: CodSpeedHQ/action@v3
uses: CodSpeedHQ/action@v4
with:
mode: walltime
run: cd baml_language && cargo codspeed run
Expand Down
Loading
Loading