mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-23 21:05:08 +00:00
The workflow run at https://github.com/zed-industries/zed/actions/runs/23557683707 succeeded but threw some warnings for a rather-soon Node.js 20 deprecation (June 2nd). Hence, this PR updates in that context mentioned workflows to newer versions from which on the actions will use Node.js 24. Namely, this updates - `actions/checkout` - `actions/create-github-app-token` and - `peter-evans/create-pull-request` to their latest version which includes said updates. As for their most recent versions, all of these actions just updated their versions to account for said deprecation. Release Notes: - N/A
41 lines
1.2 KiB
YAML
41 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}
|