Includes prior-session patches (carry forward so the app compiles): - crates/gpui/build.rs: cross-compile manifest fix - crates/gpui/src/platform.rs: PlatformWindow::activate_with_token trait method - crates/gpui/src/window.rs: Window::activate_with_token public API - crates/gpui_linux/src/linux/wayland/window.rs: WaylandWindow::activate_with_token + activate() keyboard-serial fix Plus the focus-serial fix: - serial.rs: SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; latest_serial_of() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
# Generated from xtask::workflows::danger
|
|
# Rebuild with `cargo xtask workflows`.
|
|
name: danger
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- edited
|
|
branches:
|
|
- main
|
|
jobs:
|
|
danger:
|
|
if: (github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions')
|
|
runs-on: namespace-profile-2x4-ubuntu-2404
|
|
steps:
|
|
- name: steps::checkout_repo
|
|
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
|
|
with:
|
|
clean: false
|
|
- name: steps::setup_pnpm
|
|
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
|
|
with:
|
|
version: '9'
|
|
- name: steps::setup_node
|
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
|
|
with:
|
|
node-version: '20'
|
|
cache: pnpm
|
|
cache-dependency-path: script/danger/pnpm-lock.yaml
|
|
- name: danger::danger_job::install_deps
|
|
run: pnpm install --dir script/danger
|
|
- name: danger::danger_job::run
|
|
run: pnpm run --dir script/danger danger ci
|
|
env:
|
|
GITHUB_TOKEN: not_a_real_token
|
|
DANGER_GITHUB_API_BASE_URL: https://danger-proxy.zed.dev/github
|
|
defaults:
|
|
run:
|
|
shell: bash -euxo pipefail {0}
|