Skip to content
Merged
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
18 changes: 13 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,19 @@ updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 10
interval: daily
labels:
- dependencies
groups:
official-actions:
patterns:
- "actions/*"
actions:
patterns: ["*"]

- package-ecosystem: github-actions
directory: /
target-branch: rust-preview
schedule:
interval: daily
labels: [dependencies]
groups:
actions:
patterns: ["*"]
22 changes: 14 additions & 8 deletions .github/workflows/asf-source-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ concurrency:
cancel-in-progress: false
jobs:
candidate:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
timeout-minutes: 60
env:
RELEASE_VERSION: ${{ inputs.version }}
Expand All @@ -41,26 +41,32 @@ jobs:
env:
RELEASE_REF: ${{ github.ref }}
run: test "$RELEASE_REF" = refs/heads/main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
ref: ${{ github.sha }}
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
- uses: actions/setup-node@v7
with:
node-version: "26"
node-version: latest
- name: Update Rust
run: rustup update stable --no-self-update
- uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
- uses: taiki-e/install-action@68a389c788b2cd04016ce8c80ee23b80d2ab3d68 # v2.88.1
with:
tool: just@1.59.0,cargo-nextest@0.9.149,cargo-deny
tool: cargo-binstall
- name: Install latest Rust tools
env:
GH_TOKEN: ${{ github.token }}
run: |
cargo binstall --no-confirm --force cargo-binstall
cargo binstall --no-confirm --force just cargo-nextest cargo-deny
- name: Install native dependencies
run: |
sudo apt-get update
sudo apt-get install -y bubblewrap ripgrep pkg-config libx11-dev libxi-dev libxtst-dev libxext-dev
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- name: Select npm
run: npm install --global --no-audit --no-fund "$(node -p 'require("./package.json").packageManager')"
run: npm install --global --no-audit --no-fund npm@latest
- name: Create source candidate
run: just source "$RELEASE_VERSION" "$GITHUB_SHA"
- name: Extract exact candidate
Expand All @@ -84,7 +90,7 @@ jobs:
run: |
just website-setup
just website-check
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
- uses: actions/upload-artifact@v7
with:
name: asf-source-candidate
path: release/asf/*
Expand Down
38 changes: 22 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ concurrency:

jobs:
test:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
# Allow cold compilation and Host fixtures that reserve multiple CPU slots.
timeout-minutes: 180
env:
Expand All @@ -42,12 +42,12 @@ jobs:
# Cargo retains linked outputs in target; avoid another copy in mbx's store.
MBX_CACHE_LINKS: "0"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
- uses: actions/setup-node@v7
with:
node-version: "26"
node-version: latest
cache: npm
# NSH headless rendering tests need Vulkan and Mesa software adapters,
# as in third-party/nsh/.github/workflows/gpui.yml.
Expand Down Expand Up @@ -84,10 +84,16 @@ jobs:
echo "$RUNNER_TEMP/mbx-bin" >> "$GITHUB_PATH"
echo "$RUNNER_TEMP/mbx-data/mbx/bin" >> "$GITHUB_PATH"
echo "key=rust-target-${RUNNER_OS}-${RUNNER_ARCH}-$(rustc -vV | sha256sum | cut -d ' ' -f 1)" >> "$GITHUB_OUTPUT"
- uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
- uses: taiki-e/install-action@68a389c788b2cd04016ce8c80ee23b80d2ab3d68 # v2.88.1
with:
tool: just@1.59.0,cargo-nextest@0.9.149,cargo-deny
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
tool: cargo-binstall
- name: Install latest Rust tools
env:
GH_TOKEN: ${{ github.token }}
run: |
cargo binstall --no-confirm --force cargo-binstall
cargo binstall --no-confirm --force just cargo-nextest cargo-deny
- uses: actions/cache/restore@v6
id: cargo-cache
with:
path: |
Expand All @@ -97,15 +103,15 @@ jobs:
restore-keys: cargo-${{ runner.os }}-
- name: Restore compiled Rust cache
id: rust-cache
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache/restore@v6
with:
path: target
key: ${{ steps.mbx.outputs.key }}-${{ hashFiles('Cargo.lock', 'third-party/termina/Cargo.lock') }}-${{ github.sha }}
restore-keys: |
${{ steps.mbx.outputs.key }}-${{ hashFiles('Cargo.lock', 'third-party/termina/Cargo.lock') }}-
${{ steps.mbx.outputs.key }}-
- name: Select npm
run: npm install --global --no-audit --no-fund "$(node -p 'require("./package.json").packageManager')"
run: npm install --global --no-audit --no-fund npm@latest
- run: just setup
- name: Verify Rust dependency inventory before compilation
run: |
Expand Down Expand Up @@ -138,13 +144,13 @@ jobs:
# Publish complete compiler outputs before any behavior tests can fail.
- name: Save compiled Rust cache
if: (github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/rust-preview'))) && steps.rust-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache/save@v6
with:
path: target
key: ${{ steps.rust-cache.outputs.cache-primary-key }}
- name: Save Cargo downloads
if: (github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/rust-preview'))) && steps.cargo-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache/save@v6
with:
path: |
~/.cargo/registry
Expand Down Expand Up @@ -201,15 +207,15 @@ jobs:
nsh-integration:
needs: test
if: ${{ always() && github.event_name == 'workflow_dispatch' && !cancelled() }}
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
timeout-minutes: 60
env:
CARGO_BUILD_JOBS: "2"
CARGO_INCREMENTAL: "0"
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Verify source revision
Expand All @@ -225,7 +231,7 @@ jobs:
run: |
rustup update stable --no-self-update
echo "key=nsh-target-${RUNNER_OS}-${RUNNER_ARCH}-$(rustc -vV | sha256sum | cut -d ' ' -f 1)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
- uses: actions/cache@v6
with:
path: |
~/.cargo/registry
Expand All @@ -234,7 +240,7 @@ jobs:
restore-keys: nsh-cargo-${{ runner.os }}-
- name: Restore NSH compiled cache
id: nsh-cache
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache/restore@v6
with:
path: ${{ env.CARGO_TARGET_DIR }}
key: ${{ steps.rust.outputs.key }}-${{ hashFiles('third-party/nsh/Cargo.lock', 'third-party/nsh/crates/gpui/Cargo.lock') }}-${{ github.sha }}
Expand Down Expand Up @@ -334,7 +340,7 @@ jobs:
if [ -d "$CARGO_TARGET_DIR" ]; then du -sh "$CARGO_TARGET_DIR"; fi
- name: Save NSH compiled cache
if: ${{ !cancelled() && steps.nsh-cache.outcome == 'success' && steps.nsh-cache.outputs.cache-hit != 'true' }}
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache/save@v6
with:
path: ${{ env.CARGO_TARGET_DIR }}
key: ${{ steps.nsh-cache.outputs.cache-primary-key }}
6 changes: 3 additions & 3 deletions .github/workflows/computer-use.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ jobs:
strategy:
fail-fast: false
matrix:
runner: [ubuntu-24.04, macos-26, windows-2025]
runner: [ubuntu-latest, macos-latest, windows-latest]
env:
CARGO_BUILD_JOBS: "2"
CARGO_INCREMENTAL: "0"
CARGO_PROFILE_DEV_DEBUG: "0"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Update Rust
run: rustup update stable --no-self-update
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
- uses: actions/cache@v6
with:
path: |
~/.cargo/registry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/copilot-auto-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
github.event.pull_request.draft == false &&
!endsWith(github.event.pull_request.user.login, '[bot]') &&
!contains(github.event.pull_request.labels.*.name, 'copilot-skip')
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
Expand Down
26 changes: 16 additions & 10 deletions .github/workflows/dependency-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,36 +63,42 @@ concurrency:

jobs:
rust-licenses:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
- uses: actions/setup-node@v7
with:
node-version: "26"
node-version: latest
- name: Update stable Rust for dependency resolution
run: rustup update stable --no-self-update
- uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
- uses: taiki-e/install-action@68a389c788b2cd04016ce8c80ee23b80d2ab3d68 # v2.88.1
with:
tool: cargo-deny@0.20.2
tool: cargo-binstall
- name: Install latest Rust tools
env:
GH_TOKEN: ${{ github.token }}
run: |
cargo binstall --no-confirm --force cargo-binstall
cargo binstall --no-confirm --force cargo-deny
- name: Check Rust licenses and dependency inventory
run: node scripts/rust/dependencies.mjs check

audit:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Check out the repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
uses: actions/setup-node@v7
with:
node-version: "26"
node-version: latest
cache: npm

- name: Install build dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/issue-pr-lifecycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ concurrency:
jobs:
lifecycle:
if: github.repository == 'apache/maka'
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
ref: ${{ github.sha }}
persist-credentials: false

- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
- uses: actions/github-script@v9
env:
DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run || false }}
with:
Expand Down
Loading
Loading