mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-23 12:37:09 +00:00
GitHub allows defining a default shell for all jobs on the workflow level, which we did not use before, yet practically did when it comes down to our usage of `named::bash`. Since this makes stuff quite verbose, I decided on using the defaults instead so the workflows become somewhat easier to audit when reading the generated files. Powershell steps continue to use Powershell, only the default for bash scripts was modified. Release Notes: - N/A
21 lines
578 B
YAML
21 lines
578 B
YAML
# Generated from xtask::workflows::extensions::run_tests within the Zed repository.
|
|
# Rebuild with `cargo xtask workflows`.
|
|
name: extensions::run_tests
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
call_extension_tests:
|
|
permissions:
|
|
contents: read
|
|
uses: zed-industries/zed/.github/workflows/extension_tests.yml@main
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}pr
|
|
cancel-in-progress: true
|
|
defaults:
|
|
run:
|
|
shell: bash -euxo pipefail {0}
|