github / github/vscode-github-actions
Syntax highlight error: Did not highlight comment after string value
- 主要语言
- TypeScript
- 星标
- 660
- 派生
- 213
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Describe the bug**
In the screenshot below, the comment `# Cache causes errors on macOS` wasn't highlighted as comment.
```yaml
- name: Cache
uses: actions/cache@v4
timeout-minutes: 2
continue-on-error: true
if: matrix.os != 'macos-latest' # Cache causes errors on macOS
with:
path: |
~/.cargo
target
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ github.job }}-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('**/Cargo.lock') }}
${{ github.job }}-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-
```
**To Reproduce**
Already provided
**Expected behavior**
Highlight comment as comment
**Screenshots**
Already provided
**Extension Version**
`v1.28.1`
**Additional context**
Add any other context about the problem here.
贡献指南
评估
这个 Issue 还没有评估数据。