diff options
Diffstat (limited to 'pkg/model/testdata/invalid-job-name')
-rw-r--r-- | pkg/model/testdata/invalid-job-name/invalid-1.yml | 12 | ||||
-rw-r--r-- | pkg/model/testdata/invalid-job-name/invalid-2.yml | 8 | ||||
-rw-r--r-- | pkg/model/testdata/invalid-job-name/valid-1.yml | 8 | ||||
-rw-r--r-- | pkg/model/testdata/invalid-job-name/valid-2.yml | 8 |
4 files changed, 36 insertions, 0 deletions
diff --git a/pkg/model/testdata/invalid-job-name/invalid-1.yml b/pkg/model/testdata/invalid-job-name/invalid-1.yml new file mode 100644 index 0000000..b7129d4 --- /dev/null +++ b/pkg/model/testdata/invalid-job-name/invalid-1.yml @@ -0,0 +1,12 @@ +name: invalid-job-name-1 +on: push + +jobs: + invalid-JOB-Name-v1.2.3-docker_hub: + runs-on: ubuntu-latest + steps: + - run: echo hi + valid-JOB-Name-v123-docker_hub: + runs-on: ubuntu-latest + steps: + - run: echo hi diff --git a/pkg/model/testdata/invalid-job-name/invalid-2.yml b/pkg/model/testdata/invalid-job-name/invalid-2.yml new file mode 100644 index 0000000..33dd31d --- /dev/null +++ b/pkg/model/testdata/invalid-job-name/invalid-2.yml @@ -0,0 +1,8 @@ +name: invalid-job-name-2 +on: push + +jobs: + 1234invalid-JOB-Name-v123-docker_hub: + runs-on: ubuntu-latest + steps: + - run: echo hi diff --git a/pkg/model/testdata/invalid-job-name/valid-1.yml b/pkg/model/testdata/invalid-job-name/valid-1.yml new file mode 100644 index 0000000..42e8293 --- /dev/null +++ b/pkg/model/testdata/invalid-job-name/valid-1.yml @@ -0,0 +1,8 @@ +name: valid-job-name-1 +on: push + +jobs: + valid-JOB-Name-v123-docker_hub: + runs-on: ubuntu-latest + steps: + - run: echo hi diff --git a/pkg/model/testdata/invalid-job-name/valid-2.yml b/pkg/model/testdata/invalid-job-name/valid-2.yml new file mode 100644 index 0000000..3e5c7bc --- /dev/null +++ b/pkg/model/testdata/invalid-job-name/valid-2.yml @@ -0,0 +1,8 @@ +name: valid-job-name-2 +on: push + +jobs: + ___valid-JOB-Name-v123-docker_hub: + runs-on: ubuntu-latest + steps: + - run: echo hi |