Files
languageservices/workflow-parser/testdata/reader/errors-step-uses-syntax.yml
Christopher Schleiden 2a3d63551f Rename folders
2023-02-22 15:52:40 -08:00

32 lines
923 B
YAML

include-source: false # Drop file/line/col from output
---
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
# Valid
- uses: docker://alpine:3.8
- uses: actions/aws/ec2@main
- uses: ./.github/actions/my-action
# Invalid
- uses: $$docker://alpine:3.8
- uses: ...docker://alpine:3.8
- uses: badrepo@invalid
- uses: docker://
---
{
"errors": [
{
"Message": ".github/workflows/errors-step-uses-syntax.yml (Line: 12, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual '$$docker://alpine:3.8'"
},
{
"Message": ".github/workflows/errors-step-uses-syntax.yml (Line: 13, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual '...docker://alpine:3.8'"
},
{
"Message": ".github/workflows/errors-step-uses-syntax.yml (Line: 14, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'badrepo@invalid'"
}
]
}