github / github/vscode-github-actions

GitHub actions Workflow syntax highlight issues

Abierto
#223 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
660
Forks
213
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

No source files or tests are named. Reproduce the issue in VS Code using the provided GitHub Actions YAML example and the GitHub Actions Workflow language mode, then inspect the extension's syntax-highlighting entry point. Done means the expression is highlighted correctly without breaking the surrounding YAML highlighting.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github-actions, typescript, vscode
Área
ci-cd, tooling
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.