Skip to content

Commit a559648

Browse files
committed
Update workflows to check SpecOps artifacts
1 parent bce2e7e commit a559648

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

.github/steps/1-preparing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ To get started, we will set up a GitHub Codespace with the necessary tools and e
4646
1. Confirm the **Repository** field is your copy of the exercise, not the original, then click the green **Create Codespace** button.
4747

4848
- ✅ Your copy: `/{{full_repo_name}}`
49-
- ❌ Original: `/skills/modernize-your-legacy-code-with-github-copilot`
49+
- ❌ Original: `spec-ops-method/modernize-your-legacy-code-with-github-copilot`
5050

51-
1. Wait a moment for Visual Studio Code to load in your browser.
51+
1. Wait a moment for Visual Studio Code to load in your browser (note - this could take a few minutes).
5252

5353
1. In the left sidebar, click the extensions tab and verify that the `GitHub Copilot` and `Cobol` extensions are installed and enabled.
5454

.github/workflows/0-start-exercise.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
name: Start Exercise
2121
uses: skills/exercise-toolkit/.github/workflows/[email protected]
2222
with:
23-
exercise-title: "Modernize your legacy code with GitHub Copilot"
24-
intro-message: "Learn how to use GitHub Copilot to modernize a legacy COBOL accounting system."
23+
exercise-title: "Modernize your legacy code with GitHub Copilot (SpecOps Edition)"
24+
intro-message: "Learn how to use GitHub Copilot to create a software specification from legacy COBOL code and implement a modern Node.js application from that specification."
2525

2626
post_next_step_content:
2727
name: Post next step content

.github/workflows/2-explain-legacy-code.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -59,33 +59,33 @@ jobs:
5959

6060
# START: Check practical exercise
6161

62-
- name: Check for an explanation of data.cob
63-
id: check-explanation-data-cob
62+
- name: Check for System Overview section
63+
id: check-system-overview
6464
continue-on-error: true
6565
uses: skills/action-keyphrase-checker@v1
6666
with:
67-
text-file: docs/README.md
68-
keyphrase: 'data.cob'
67+
text-file: docs/SPECIFICATION.md
68+
keyphrase: 'overview'
6969
minimum-occurrences: 1
7070
case-sensitive: false
7171

72-
- name: Check for an explanation of main.cob
73-
id: check-explanation-main-cob
72+
- name: Check for Business Rules section
73+
id: check-business-rules
7474
continue-on-error: true
7575
uses: skills/action-keyphrase-checker@v1
7676
with:
77-
text-file: docs/README.md
78-
keyphrase: 'main.cob'
77+
text-file: docs/SPECIFICATION.md
78+
keyphrase: 'business rule'
7979
minimum-occurrences: 1
8080
case-sensitive: false
8181

82-
- name: Check for an explanation of operations.cob
83-
id: check-explanation-operations-cob
82+
- name: Check for Operations documentation
83+
id: check-operations
8484
continue-on-error: true
8585
uses: skills/action-keyphrase-checker@v1
8686
with:
87-
text-file: docs/README.md
88-
keyphrase: 'operations.cob'
87+
text-file: docs/SPECIFICATION.md
88+
keyphrase: 'operation'
8989
minimum-occurrences: 1
9090
case-sensitive: false
9191

@@ -94,7 +94,7 @@ jobs:
9494
continue-on-error: true
9595
uses: skills/action-keyphrase-checker@v1
9696
with:
97-
text-file: docs/README.md
97+
text-file: docs/SPECIFICATION.md
9898
keyphrase: 'mermaid'
9999
minimum-occurrences: 1
100100
case-sensitive: false
@@ -110,13 +110,13 @@ jobs:
110110
vars: |
111111
step_number: 2
112112
results_table:
113-
- description: "Check README.md for an explanation of data.cob"
114-
passed: ${{ steps.check-explanation-data-cob.outcome == 'success' }}
115-
- description: "Check README.md for an explanation of main.cob"
116-
passed: ${{ steps.check-explanation-main-cob.outcome == 'success' }}
117-
- description: "Check README.md for an explanation of operations.cob"
118-
passed: ${{ steps.check-explanation-operations-cob.outcome == 'success' }}
119-
- description: "Check README.md for a mermaid diagram"
113+
- description: "Check SPECIFICATION.md for a System Overview section"
114+
passed: ${{ steps.check-system-overview.outcome == 'success' }}
115+
- description: "Check SPECIFICATION.md for Business Rules documentation"
116+
passed: ${{ steps.check-business-rules.outcome == 'success' }}
117+
- description: "Check SPECIFICATION.md for Operations documentation"
118+
passed: ${{ steps.check-operations.outcome == 'success' }}
119+
- description: "Check SPECIFICATION.md for a mermaid diagram"
120120
passed: ${{ steps.check-mermaid-diagram.outcome == 'success' }}
121121
122122
# END: Check practical exercise

.github/workflows/3-create-test-plan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
minimum-occurrences: 1
6969
case-sensitive: false
7070

71-
- name: Check for an explanation of main.cob
71+
- name: Check for Test Steps in test plan
7272
id: check-test-plan-test-steps
7373
continue-on-error: true
7474
uses: skills/action-keyphrase-checker@v1

.github/workflows/4-convert-the-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,4 @@ jobs:
153153
uses: skills/exercise-toolkit/.github/workflows/[email protected]
154154
with:
155155
issue-url: ${{ needs.find_exercise.outputs.issue-url }}
156-
exercise-title: "Modernize your legacy code with GitHub Copilot"
156+
exercise-title: "Modernize your legacy code with GitHub Copilot (SpecOps Edition)"

0 commit comments

Comments
 (0)