github / github/vscode-github-actions

GitHub actions Workflow syntax highlight issues

Đang mở
#223 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
660
Fork
213
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Type: Bug

Hi,

The following example code breaks syntax highlight when using `GitHub Actions Workflow` as the selected language:

```yaml
name: Example

on:
push:

jobs:
example:
name: Example
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix: ${{ fromJSON( startsWith(inputs.linting, '{') && inputs.linting || format('{{"linting":["{0}"]}}', inputs.linting) ) }}

steps:
- run: echo "Example"
```
*edit* added animated gif to report.
![2023-06-26 12 09 29](https://github.com/github/vscode-github-actions/assets/55999/d69fabb9-56f1-4f22-aedb-b9cd5f682f55)

Extension version: 0.25.8
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:58:33.551Z)
OS version: Darwin arm64 22.5.0
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|Apple M1 Pro (10 x 24)|
|GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled|
|Load (avg)|4, 5, 5|
|Memory (System)|32.00GB (0.34GB free)|
|Process Argv|--crash-reporter-id 84717786-ecd9-4b5e-a3c9-9b80403c43aa|
|Screen Reader|no|
|VM|0%|

A/B Experiments

```
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30773603
vscaat:30438848
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
2i9eh265:30646982
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
pythongtdpath:30769146
i26e3531:30769768
dh2dc718:30770000
pythonidxpt:30772539
pythondjangotscf:30772537

```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.