Merge pull request #155 from github/joshmgross/sync-xlang
Improve process for syncing xlang tests
This commit is contained in:
@@ -20,10 +20,13 @@ const nullTrace: TraceWriter = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const testFiles = "./testdata/reader";
|
const testFiles = "./testdata/reader";
|
||||||
|
const skippedTestsFile = "./testdata/skipped-tests.txt";
|
||||||
|
|
||||||
describe("x-lang tests", () => {
|
describe("x-lang tests", () => {
|
||||||
const files = fs.readdirSync(testFiles);
|
const files = fs.readdirSync(testFiles);
|
||||||
|
|
||||||
|
const skippedTests = new Set(fs.readFileSync(skippedTestsFile, "utf8").split(/\n/));
|
||||||
|
|
||||||
for (const file of files) {
|
for (const file of files) {
|
||||||
const fileName = path.join(testFiles, file);
|
const fileName = path.join(testFiles, file);
|
||||||
|
|
||||||
@@ -42,7 +45,7 @@ describe("x-lang tests", () => {
|
|||||||
expect(testDocs.length).toBeGreaterThanOrEqual(3);
|
expect(testDocs.length).toBeGreaterThanOrEqual(3);
|
||||||
|
|
||||||
const testOptions: TestOptions = YAML.parse(testDocs[0]);
|
const testOptions: TestOptions = YAML.parse(testDocs[0]);
|
||||||
const unsupportedTest = contains(testOptions.skip, "TypeScript");
|
const unsupportedTest = skippedTests.has(file);
|
||||||
|
|
||||||
const test = async () => {
|
const test = async () => {
|
||||||
const testFileName = ".github/workflows" + fileName.substring(fileName.lastIndexOf("/"));
|
const testFileName = ".github/workflows" + fileName.substring(fileName.lastIndexOf("/"));
|
||||||
|
|||||||
@@ -0,0 +1,100 @@
|
|||||||
|
include-source: false # Drop file/line/col from output
|
||||||
|
---
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
# Env is a string-string mapping. Null, bool, and numbers are all coerced to strings.
|
||||||
|
#
|
||||||
|
# When numbers are coerced to string, choosing too high/low of a precision are both problematic.
|
||||||
|
# This is due to how fractional numbers are represented in double-precision floating point format.
|
||||||
|
#
|
||||||
|
# The chosen format specifier produces the best results overall results.
|
||||||
|
- run: printenv
|
||||||
|
env:
|
||||||
|
"null": !!null
|
||||||
|
bool1: !!bool true
|
||||||
|
bool2: !!bool false
|
||||||
|
num1: !!float 0.84551240822557006 # Coerces to string "0.84551240822557"
|
||||||
|
num2: !!float 123456
|
||||||
|
num3: !!float 0.123456
|
||||||
|
num4: !!float 123456.123456
|
||||||
|
num5: !!float 1587106672383762434 # Coerces to string "1.58710667238376E+18" ; It would be nicer if this number successfully round-tripped, i.e. coerces to string "1587106672383762434"
|
||||||
|
num6: !!float .inf
|
||||||
|
num7: !!float -.inf
|
||||||
|
num8: !!float .nan
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": "build",
|
||||||
|
"name": "build",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": "ubuntu-latest",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"type": 2,
|
||||||
|
"map": [
|
||||||
|
{
|
||||||
|
"Key": "null",
|
||||||
|
"Value": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "bool1",
|
||||||
|
"Value": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "bool2",
|
||||||
|
"Value": "false"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "num1",
|
||||||
|
"Value": "0.84551240822557"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "num2",
|
||||||
|
"Value": "123456"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "num3",
|
||||||
|
"Value": "0.123456"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "num4",
|
||||||
|
"Value": "123456.123456"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "num5",
|
||||||
|
"Value": "1.58710667238376E+18"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "num6",
|
||||||
|
"Value": "Infinity"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "num7",
|
||||||
|
"Value": "-Infinity"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "num8",
|
||||||
|
"Value": "NaN"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"run": "printenv"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
concurrency:
|
concurrency:
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
|
skip:
|
||||||
|
- TypeScript
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
-2
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
max-depth: 5
|
max-depth: 5
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
max-file-size: 124
|
max-file-size: 124
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
max-job-limit: 8
|
max-job-limit: 8
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
max-result-size: 1141
|
||||||
- TypeScript
|
|
||||||
max-result-size: 768
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Vendored
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Vendored
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
max-nested-reusable-workflows-depth: 2
|
max-nested-reusable-workflows-depth: 2
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
permissions:
|
permissions:
|
||||||
actions: write
|
actions: write
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
permissions:
|
permissions:
|
||||||
actions: write
|
actions: write
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
permissions:
|
permissions:
|
||||||
actions: write
|
actions: write
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
permissions:
|
permissions:
|
||||||
actions: write
|
actions: write
|
||||||
|
|||||||
-2
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- Go
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
+1
-5
@@ -2,7 +2,6 @@ include-source: false # Drop file/line/col from output
|
|||||||
max-result-size: 2048
|
max-result-size: 2048
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
@@ -21,10 +20,7 @@ jobs:
|
|||||||
{
|
{
|
||||||
"errors": [
|
"errors": [
|
||||||
{
|
{
|
||||||
"Message": "contoso/templates/.github/workflows/deploy.yml@v1: Maximum object size exceeded"
|
"Message": "In .github/workflows/errors-reusable-workflow-max-result-size.yml (Line: 4, Col: 20): Error from called workflow contoso/templates/.github/workflows/deploy.yml@v1: Maximum object size exceeded"
|
||||||
},
|
|
||||||
{
|
|
||||||
"Message": "Unexpected type '' encountered while reading 'root'. The type 'MappingToken' was expected."
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
# Note, the workflow names are intentionally short so the error message doesn't get truncated too much
|
# Note, the workflow names are intentionally short so the error message doesn't get truncated too much
|
||||||
---
|
---
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
# Note, the workflow names are intentionally short so the error message doesn't get truncated too much
|
# Note, the workflow names are intentionally short so the error message doesn't get truncated too much
|
||||||
---
|
---
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
# Note, the workflow names are intentionally short so the error message doesn't get truncated too much
|
# Note, the workflow names are intentionally short so the error message doesn't get truncated too much
|
||||||
---
|
---
|
||||||
|
|||||||
+3
-2
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
@@ -14,6 +13,8 @@ contoso/templates/.github/workflows/deploy.yml@v1
|
|||||||
on: workflow_call
|
on: workflow_call
|
||||||
permissions:
|
permissions:
|
||||||
actions: write
|
actions: write
|
||||||
|
contents: write
|
||||||
|
packages: write
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -23,7 +24,7 @@ jobs:
|
|||||||
{
|
{
|
||||||
"errors": [
|
"errors": [
|
||||||
{
|
{
|
||||||
"Message": ".github/workflows/errors-reusable-workflow-permissions-not-allowed-workflow-level-from-caller-default.yml (Line: 3, Col: 3): Error calling workflow 'contoso/templates/.github/workflows/deploy.yml@v1'. The workflow 'contoso/templates/.github/workflows/deploy.yml@v1' is requesting 'actions: write', but is only allowed 'actions: none'."
|
"Message": ".github/workflows/errors-reusable-workflow-permissions-not-allowed-workflow-level-from-caller-default.yml (Line: 3, Col: 3): Error calling workflow 'contoso/templates/.github/workflows/deploy.yml@v1'. The workflow 'contoso/templates/.github/workflows/deploy.yml@v1' is requesting 'actions: write, contents: write, packages: write', but is only allowed 'actions: none, contents: read, packages: read'."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -0,0 +1,166 @@
|
|||||||
|
|
||||||
|
# Remove this test when feature flag Actions.FixFileTableOrderOnPartialRerun is rolled out
|
||||||
|
#
|
||||||
|
# This test exploits the fact that the test-referenced-workflows-dictionary is sorted.
|
||||||
|
# When IsPartialRerun=true, the file table is re-written using the keys from the
|
||||||
|
# test-referenced-workflows-dictionary.
|
||||||
|
|
||||||
|
include-source: true # Preserve file/line/col from output
|
||||||
|
skip:
|
||||||
|
- Go
|
||||||
|
is-partial-rerun: true
|
||||||
|
---
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo hi
|
||||||
|
deploy-1:
|
||||||
|
needs: build
|
||||||
|
uses: .contoso/templates/.github/workflows/deploy.yml@v1
|
||||||
|
---
|
||||||
|
.contoso/templates/.github/workflows/deploy.yml@v1
|
||||||
|
---
|
||||||
|
on: workflow_call
|
||||||
|
jobs:
|
||||||
|
job1:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo hi from reusable workflow
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 3,
|
||||||
|
"col": 3,
|
||||||
|
"lit": "build"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 3,
|
||||||
|
"col": 3,
|
||||||
|
"lit": "build"
|
||||||
|
},
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 4,
|
||||||
|
"col": 14,
|
||||||
|
"lit": "ubuntu-latest"
|
||||||
|
},
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 6,
|
||||||
|
"col": 14,
|
||||||
|
"lit": "echo hi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "reusableWorkflowJob",
|
||||||
|
"id": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 7,
|
||||||
|
"col": 3,
|
||||||
|
"lit": "deploy-1"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 7,
|
||||||
|
"col": 3,
|
||||||
|
"lit": "deploy-1"
|
||||||
|
},
|
||||||
|
"needs": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 8,
|
||||||
|
"col": 12,
|
||||||
|
"lit": "build"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"ref": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 9,
|
||||||
|
"col": 11,
|
||||||
|
"lit": ".contoso/templates/.github/workflows/deploy.yml@v1"
|
||||||
|
},
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 2,
|
||||||
|
"line": 3,
|
||||||
|
"col": 3,
|
||||||
|
"lit": "job1"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 2,
|
||||||
|
"line": 3,
|
||||||
|
"col": 3,
|
||||||
|
"lit": "job1"
|
||||||
|
},
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 2,
|
||||||
|
"line": 4,
|
||||||
|
"col": 14,
|
||||||
|
"lit": "ubuntu-latest"
|
||||||
|
},
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 2,
|
||||||
|
"line": 6,
|
||||||
|
"col": 14,
|
||||||
|
"lit": "echo hi from reusable workflow"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"file-table": [
|
||||||
|
".contoso/templates/.github/workflows/deploy.yml@v1",
|
||||||
|
".github/workflows/is-partial-rerun.yml"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
@@ -52,6 +52,10 @@ jobs:
|
|||||||
- label 2
|
- label 2
|
||||||
steps:
|
steps:
|
||||||
- run: echo hi
|
- run: echo hi
|
||||||
|
build8:
|
||||||
|
runs-on: [ inf, -inf, +inf, infinity, NaN, nan, -infinity ] # flow sequence, inf and nan keywords
|
||||||
|
steps:
|
||||||
|
- run: echo hi
|
||||||
---
|
---
|
||||||
{
|
{
|
||||||
"jobs": [
|
"jobs": [
|
||||||
@@ -290,6 +294,37 @@ jobs:
|
|||||||
"run": "echo hi"
|
"run": "echo hi"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": "build8",
|
||||||
|
"name": "build8",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": {
|
||||||
|
"type": 1,
|
||||||
|
"seq": [
|
||||||
|
"inf",
|
||||||
|
"-inf",
|
||||||
|
"+inf",
|
||||||
|
"infinity",
|
||||||
|
"NaN",
|
||||||
|
"nan",
|
||||||
|
"-infinity"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": "echo hi"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -0,0 +1,52 @@
|
|||||||
|
include-source: false # Drop file/line/col from output
|
||||||
|
max-result-size: 1128
|
||||||
|
---
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
job1:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo Deploying 1...
|
||||||
|
- run: echo Deploying 2...
|
||||||
|
- run: echo Deploying 3...
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": "job1",
|
||||||
|
"name": "job1",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": "ubuntu-latest",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": "echo Deploying 1..."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "__run_2",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": "echo Deploying 2..."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "__run_3",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": "echo Deploying 3..."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
# This is a basic workflow to help you get started with Actions
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
-2
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: true # Preserve file/line/col in serialized output
|
include-source: true # Preserve file/line/col in serialized output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
-3
@@ -1,7 +1,4 @@
|
|||||||
include-source: true # Preserve file/line/col in serialized output
|
include-source: true # Preserve file/line/col in serialized output
|
||||||
skip:
|
|
||||||
- Go
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: true # Preserve file/line/col in serialized output
|
include-source: true # Preserve file/line/col in serialized output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
# This is meant to cover all the different types of TemplateToken that are output
|
# This is meant to cover all the different types of TemplateToken that are output
|
||||||
# with include-source: true. Currently it is missing type 4 (insert expression)
|
# with include-source: true. Currently it is missing type 4 (insert expression)
|
||||||
|
|||||||
@@ -0,0 +1,54 @@
|
|||||||
|
include-source: false # Drop file/line/col from output
|
||||||
|
---
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
call_reusable:
|
||||||
|
uses: contoso/templates/.github/workflows/deploy.yml@v1
|
||||||
|
---
|
||||||
|
contoso/templates/.github/workflows/deploy.yml@v1
|
||||||
|
---
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
jobs:
|
||||||
|
simple_job:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo Hello
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "reusableWorkflowJob",
|
||||||
|
"id": "call_reusable",
|
||||||
|
"name": "call_reusable",
|
||||||
|
"needs": [],
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": "simple_job",
|
||||||
|
"name": "simple_job",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": "ubuntu-latest",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": "echo Hello"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- Go
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
max-nested-reusable-workflows-depth: 2
|
max-nested-reusable-workflows-depth: 2
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
max-nested-reusable-workflows-depth: 2
|
max-nested-reusable-workflows-depth: 2
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
max-nested-reusable-workflows-depth: 3
|
max-nested-reusable-workflows-depth: 3
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
+68
@@ -0,0 +1,68 @@
|
|||||||
|
include-source: false # Drop file/line/col from output
|
||||||
|
skip:
|
||||||
|
- Go
|
||||||
|
permissions-policy: LimitedRead
|
||||||
|
---
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
# Inherit from default permissions policy
|
||||||
|
build:
|
||||||
|
uses: contoso/templates/.github/workflows/build.yml@v1
|
||||||
|
---
|
||||||
|
contoso/templates/.github/workflows/build.yml@v1
|
||||||
|
---
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: read
|
||||||
|
on: workflow_call
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo 1
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "reusableWorkflowJob",
|
||||||
|
"id": "build",
|
||||||
|
"name": "build",
|
||||||
|
"needs": [],
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||||
|
"permissions": {
|
||||||
|
"contents": "read",
|
||||||
|
"packages": "read"
|
||||||
|
},
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": "deploy",
|
||||||
|
"name": "deploy",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"permissions": {
|
||||||
|
"contents": "read",
|
||||||
|
"packages": "read"
|
||||||
|
},
|
||||||
|
"runs-on": "ubuntu-latest",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": "echo 1"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
Vendored
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
+101
@@ -0,0 +1,101 @@
|
|||||||
|
include-source: false # Drop file/line/col from output
|
||||||
|
skip:
|
||||||
|
- Go
|
||||||
|
permissions-policy: Write
|
||||||
|
---
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
# Inherit from default permissions policy
|
||||||
|
build:
|
||||||
|
uses: contoso/templates/.github/workflows/build.yml@v1
|
||||||
|
# Override
|
||||||
|
build2:
|
||||||
|
permissions:
|
||||||
|
actions: write
|
||||||
|
uses: contoso/templates/.github/workflows/build.yml@v1
|
||||||
|
---
|
||||||
|
contoso/templates/.github/workflows/build.yml@v1
|
||||||
|
---
|
||||||
|
on: workflow_call
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo 1
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "reusableWorkflowJob",
|
||||||
|
"id": "build",
|
||||||
|
"name": "build",
|
||||||
|
"needs": [],
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": "deploy",
|
||||||
|
"name": "deploy",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": "ubuntu-latest",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": "echo 1"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "reusableWorkflowJob",
|
||||||
|
"id": "build2",
|
||||||
|
"name": "build2",
|
||||||
|
"needs": [],
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||||
|
"permissions": {
|
||||||
|
"actions": "write"
|
||||||
|
},
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": "deploy",
|
||||||
|
"name": "deploy",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"permissions": {
|
||||||
|
"actions": "write"
|
||||||
|
},
|
||||||
|
"runs-on": "ubuntu-latest",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": "echo 1"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
permissions-policy: LimitedRead
|
permissions-policy: LimitedRead
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- Go
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- Go
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -0,0 +1,79 @@
|
|||||||
|
include-source: false # Drop file/line/col from output
|
||||||
|
---
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo Value Difference!
|
||||||
|
env:
|
||||||
|
MIN: 1345678912345678912
|
||||||
|
max-double:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo Value Difference!
|
||||||
|
env:
|
||||||
|
MIN: 179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": "build",
|
||||||
|
"name": "build",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": "ubuntu-latest",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"type": 2,
|
||||||
|
"map": [
|
||||||
|
{
|
||||||
|
"Key": "MIN",
|
||||||
|
"Value": "1.34567891234568E+18"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"run": "echo Value Difference!"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": "max-double",
|
||||||
|
"name": "max-double",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": "ubuntu-latest",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"type": 2,
|
||||||
|
"map": [
|
||||||
|
{
|
||||||
|
"Key": "MIN",
|
||||||
|
"Value": "1.79769313486232E+308"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"run": "echo Value Difference!"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,113 @@
|
|||||||
|
include-source: true # Preserve file/line/col from output
|
||||||
|
skip:
|
||||||
|
- Go
|
||||||
|
skip-reusable-workflows: true # Only supported by C# parser
|
||||||
|
---
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo hi
|
||||||
|
deploy-1:
|
||||||
|
needs: build
|
||||||
|
uses: contoso/templates/.github/workflows/deploy.yml@v1
|
||||||
|
---
|
||||||
|
contoso/templates/.github/workflows/deploy.yml@v1
|
||||||
|
---
|
||||||
|
on: workflow_call
|
||||||
|
jobs:
|
||||||
|
job1:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo hi from reusable workflow
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"jobs": [
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 3,
|
||||||
|
"col": 3,
|
||||||
|
"lit": "build"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 3,
|
||||||
|
"col": 3,
|
||||||
|
"lit": "build"
|
||||||
|
},
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 4,
|
||||||
|
"col": 14,
|
||||||
|
"lit": "ubuntu-latest"
|
||||||
|
},
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 6,
|
||||||
|
"col": 14,
|
||||||
|
"lit": "echo hi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "reusableWorkflowJob",
|
||||||
|
"id": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 7,
|
||||||
|
"col": 3,
|
||||||
|
"lit": "deploy-1"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 7,
|
||||||
|
"col": 3,
|
||||||
|
"lit": "deploy-1"
|
||||||
|
},
|
||||||
|
"needs": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 8,
|
||||||
|
"col": 12,
|
||||||
|
"lit": "build"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"ref": {
|
||||||
|
"type": 0,
|
||||||
|
"file": 1,
|
||||||
|
"line": 9,
|
||||||
|
"col": 11,
|
||||||
|
"lit": "contoso/templates/.github/workflows/deploy.yml@v1"
|
||||||
|
},
|
||||||
|
"jobs": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"file-table": [
|
||||||
|
".github/workflows/skip-reusable-workflows.yml"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
+36
-3
@@ -2,19 +2,24 @@ include-source: false # Drop file/line/col from output
|
|||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build1:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo ${{ github.sha }} # github context
|
- run: echo ${{ github.sha }} # github context
|
||||||
- run: echo ${{ vars.foo }} # vars context
|
- run: echo ${{ vars.foo }} # vars context
|
||||||
- run: echo ${{ steps.foo }} # steps context
|
- run: echo ${{ steps.foo }} # steps context
|
||||||
|
build2:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: ${{ '${{ this is an escaped expression }}' }} # escaped expression
|
||||||
|
- run: ${{ 'it''s an escaped quote' }} # escaped quote
|
||||||
---
|
---
|
||||||
{
|
{
|
||||||
"jobs": [
|
"jobs": [
|
||||||
{
|
{
|
||||||
"type": "job",
|
"type": "job",
|
||||||
"id": "build",
|
"id": "build1",
|
||||||
"name": "build",
|
"name": "build1",
|
||||||
"if": {
|
"if": {
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"expr": "success()"
|
"expr": "success()"
|
||||||
@@ -55,6 +60,34 @@ jobs:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "job",
|
||||||
|
"id": "build2",
|
||||||
|
"name": "build2",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"runs-on": "ubuntu-latest",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"id": "__run",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": "${{ this is an escaped expression }}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "__run_2",
|
||||||
|
"if": {
|
||||||
|
"type": 3,
|
||||||
|
"expr": "success()"
|
||||||
|
},
|
||||||
|
"run": "it's an escaped quote"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
defaults:
|
defaults:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -16,9 +16,15 @@ jobs:
|
|||||||
- 0
|
- 0
|
||||||
- -0
|
- -0
|
||||||
- +0
|
- +0
|
||||||
|
- 0000
|
||||||
|
- -0000
|
||||||
- 0xff
|
- 0xff
|
||||||
- 0xFF
|
- 0xFF
|
||||||
- 0o10
|
- 0o10
|
||||||
|
- 0755
|
||||||
|
- 00755
|
||||||
|
- +00755
|
||||||
|
- -00755
|
||||||
|
|
||||||
# Integer, explicit type
|
# Integer, explicit type
|
||||||
- !!int 1
|
- !!int 1
|
||||||
@@ -64,9 +70,15 @@ jobs:
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
255,
|
255,
|
||||||
255,
|
255,
|
||||||
8,
|
8,
|
||||||
|
755,
|
||||||
|
755,
|
||||||
|
755,
|
||||||
|
-755,
|
||||||
1,
|
1,
|
||||||
-1,
|
-1,
|
||||||
1,
|
1,
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -0,0 +1,96 @@
|
|||||||
|
bad-character.yml
|
||||||
|
coercion-to-string.yml
|
||||||
|
concurrency.yml
|
||||||
|
errors-anchor-tag.yml
|
||||||
|
errors-expressions.yml
|
||||||
|
errors-invalid-mapping-key.yml
|
||||||
|
errors-job-concurrency.yml
|
||||||
|
errors-job-runs-on-group-invalid-prefix.yml
|
||||||
|
errors-matrix-empty-vector.yml
|
||||||
|
errors-matrix-max-depth.yml
|
||||||
|
errors-max-depth.yml
|
||||||
|
errors-max-file-size.yml
|
||||||
|
errors-max-job-limit-with-reusable-workflow.yml
|
||||||
|
errors-max-result-size.yml
|
||||||
|
errors-parse-boolean.yml
|
||||||
|
errors-parse-float.yml
|
||||||
|
errors-parse-integer.yml
|
||||||
|
errors-reusable-workflow-job-inputs-type-mismatch.yml
|
||||||
|
errors-reusable-workflow-job-nested-depth-exceeded.yml
|
||||||
|
errors-reusable-workflow-job-nested-permissions-not-allowed-job-level-from-caller-job-level.yml
|
||||||
|
errors-reusable-workflow-job-nested-permissions-not-allowed-job-level-from-caller-workflow-level.yml
|
||||||
|
errors-reusable-workflow-job-nested-permissions-not-allowed-workflow-level-from-caller-job-level.yml
|
||||||
|
errors-reusable-workflow-job-nested-permissions-not-allowed-workflow-level-from-caller-workflow-level.yml
|
||||||
|
errors-reusable-workflow-max-result-size.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-job-level-from-caller-default.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-job-level-from-caller-job-level.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-job-level-from-caller-workflow-level.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-actions-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-checks-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-contents-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-deployments-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-discussions-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-id-token-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-issues-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-packages-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-pages-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-pull-requests-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-read-all-allowed-none.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-repository-projects-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-security-events-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-statuses-write.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-write-all-allowed-none.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-request-write-all-allowed-read-all.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-workflow-level-from-caller-default.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-workflow-level-from-caller-job-level.yml
|
||||||
|
errors-reusable-workflow-permissions-not-allowed-workflow-level-from-caller-workflow-level.yml
|
||||||
|
errors-step-id.yml
|
||||||
|
errors-step-run-exceeds-length.yml
|
||||||
|
errors-step-uses-syntax.yml
|
||||||
|
errors-unclosed-tokens.yml
|
||||||
|
errors-yaml-invalid-style.yml
|
||||||
|
errors-yaml-tags-explicit-unsupported.yml
|
||||||
|
escape-html-values.yml
|
||||||
|
float-folded-style.yml
|
||||||
|
insert.yml
|
||||||
|
is-partial-rerun.yml
|
||||||
|
job-basic.yml
|
||||||
|
job-cancel-timeout-minutes.yml
|
||||||
|
job-concurrency.yml
|
||||||
|
job-continue-on-error.yml
|
||||||
|
job-defaults.yml
|
||||||
|
job-if.yml
|
||||||
|
job-permissions.yml
|
||||||
|
job-timeout-minutes.yml
|
||||||
|
matrix-basic.yml
|
||||||
|
misc-jobs.yml
|
||||||
|
misc-steps.yml
|
||||||
|
mvp.yml
|
||||||
|
on-workflow_dispatch-inputs-null.yml
|
||||||
|
on-workflow_dispatch-inputs.yml
|
||||||
|
on-workflow_dispatch-unknown-keys-ignored.yml
|
||||||
|
permissions.yml
|
||||||
|
preserves-source-info-basic.yml
|
||||||
|
preserves-source-info-reusable-workflow.yml
|
||||||
|
preserves-source-info-simple.yml
|
||||||
|
reusable-workflow-job-nested-basic.yml
|
||||||
|
reusable-workflow-job-nested-multiple.yml
|
||||||
|
reusable-workflow-job-nested-permissions.yml
|
||||||
|
reusable-workflow-job-permissions-embedded-permissions-after-jobs.yml
|
||||||
|
reusable-workflow-job-permissions-embedded-permissions.yml
|
||||||
|
reusable-workflow-job-permissions-overrides-default-limited-read.yml
|
||||||
|
reusable-workflow-job-permissions-default-limited-read-allows-contents-packages.yml
|
||||||
|
reusable-workflow-job-permissions-overrides-default-limited-write.yml
|
||||||
|
reusable-workflow-job-permissions-overrides-default-write.yml
|
||||||
|
reusable-workflow-job-permissions-overrides-workflow-level.yml
|
||||||
|
root-env-defaults.yml
|
||||||
|
round-to-infinity.yml
|
||||||
|
step-if.yml
|
||||||
|
scientific-notation-number.yml
|
||||||
|
skip-reusable-workflows.yml
|
||||||
|
workflow-defaults.yml
|
||||||
|
yaml-schema-float.yml
|
||||||
|
yaml-schema-sequence.yml
|
||||||
|
yaml-schema-str-flow-styles.yml
|
||||||
|
yaml-schema-string.yml
|
||||||
|
yaml-schema-timestamp.yml
|
||||||
+9
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
TEST_DATA_DIR="$HOME/github/actions-workflow-parser/testdata/reader"
|
||||||
|
|
||||||
|
REPO_ROOT="$(git rev-parse --show-toplevel)"
|
||||||
|
|
||||||
|
DEST_DIR="$REPO_ROOT/actions-workflow-parser/testdata/reader"
|
||||||
|
|
||||||
|
cp -f "$TEST_DATA_DIR"/* "$DEST_DIR"/
|
||||||
Reference in New Issue
Block a user