Skip to content

Commit bda397c

Browse files
authored
chore: bump exercise-toolkit version (#315)
1 parent 323c050 commit bda397c

6 files changed

Lines changed: 44 additions & 16 deletions

File tree

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
start_exercise:
1818
name: Start Exercise
19-
uses: skills/exercise-toolkit/.github/workflows/start-exercise.yml@v0.5.0
19+
uses: skills/exercise-toolkit/.github/workflows/start-exercise.yml@v0.6.0
2020
with:
2121
exercise-title: "Hello GitHub Actions"
2222
intro-message: "Create and run a GitHub Actions workflow."
@@ -27,15 +27,18 @@ jobs:
2727
needs: [start_exercise]
2828
env:
2929
ISSUE_URL: ${{ needs.start_exercise.outputs.issue-url }}
30+
3031
steps:
3132
- name: Checkout
3233
uses: actions/checkout@v4
34+
3335
- name: Get response templates
3436
uses: actions/checkout@v4
3537
with:
3638
repository: skills/exercise-toolkit
3739
path: exercise-toolkit
38-
ref: v0.5.0
40+
ref: v0.6.0
41+
3942
- name: Build comment - add step content
4043
id: build-comment
4144
uses: skills/action-text-variables@v2
@@ -44,19 +47,22 @@ jobs:
4447
template-vars: |
4548
login: ${{ github.actor }}
4649
full_repo_name: ${{ github.repository }}
50+
4751
- name: Create comment - add step content
4852
run: |
4953
gh issue comment "$ISSUE_URL" \
5054
--body "$ISSUE_BODY"
5155
env:
5256
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5357
ISSUE_BODY: ${{ steps.build-comment.outputs.updated-text }}
58+
5459
- name: Create comment - watching for progress
5560
run: |
5661
gh issue comment "$ISSUE_URL" \
5762
--body-file "exercise-toolkit/markdown-templates/step-feedback/watching-for-progress.md"
5863
env:
5964
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65+
6066
- name: Enable next step workflow
6167
run: |
6268
gh workflow enable "Step 1"

.github/workflows/1-step.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
jobs:
1919
find_exercise:
2020
name: Find Exercise Issue
21-
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.5.0
21+
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.6.0
2222

2323
check_step_work:
2424
name: Check step work
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
repository: skills/exercise-toolkit
3838
path: exercise-toolkit
39-
ref: v0.5.0
39+
ref: v0.6.0
4040

4141
- name: Update comment - checking work
4242
run: |
@@ -49,7 +49,7 @@ jobs:
4949
- name: Check if welcome.yml file exists
5050
id: check-file-exists
5151
continue-on-error: true
52-
uses: skills/exercise-toolkit/actions/file-exists@v0.5.0
52+
uses: skills/exercise-toolkit/actions/file-exists@v0.6.0
5353
with:
5454
file: .github/workflows/welcome.yml
5555

@@ -140,27 +140,32 @@ jobs:
140140
runs-on: ubuntu-latest
141141
env:
142142
ISSUE_URL: ${{ needs.find_exercise.outputs.issue-url }}
143+
143144
steps:
144145
- name: Checkout
145146
uses: actions/checkout@v4
147+
146148
- name: Get response templates
147149
uses: actions/checkout@v4
148150
with:
149151
repository: skills/exercise-toolkit
150152
path: exercise-toolkit
151-
ref: v0.5.0
153+
ref: v0.6.0
154+
152155
- name: Create comment - add step content
153156
run: |
154157
gh issue comment "$ISSUE_URL" \
155158
--body-file "$STEP_2_FILE"
156159
env:
157160
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
161+
158162
- name: Create comment - watching for progress
159163
run: |
160164
gh issue comment "$ISSUE_URL" \
161165
--body-file exercise-toolkit/markdown-templates/step-feedback/watching-for-progress.md
162166
env:
163167
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
168+
164169
- name: Disable current workflow and enable next one
165170
run: |
166171
gh workflow disable "${{github.workflow}}"

.github/workflows/2-step.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
find_exercise:
1818
name: Find Exercise Issue
19-
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.5.0
19+
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.6.0
2020

2121
check_step_work:
2222
name: Check step work
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
repository: skills/exercise-toolkit
3636
path: exercise-toolkit
37-
ref: v0.5.0
37+
ref: v0.6.0
3838

3939
- name: Update comment - checking work
4040
run: |
@@ -119,6 +119,7 @@ jobs:
119119
runs-on: ubuntu-latest
120120
env:
121121
ISSUE_URL: ${{ needs.find_exercise.outputs.issue-url }}
122+
122123
steps:
123124
- name: Checkout
124125
uses: actions/checkout@v4
@@ -127,19 +128,22 @@ jobs:
127128
with:
128129
repository: skills/exercise-toolkit
129130
path: exercise-toolkit
130-
ref: v0.5.0
131+
ref: v0.6.0
132+
131133
- name: Create comment - add step content
132134
run: |
133135
gh issue comment "$ISSUE_URL" \
134136
--body-file "$STEP_3_FILE"
135137
env:
136138
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
139+
137140
- name: Create comment - watching for progress
138141
run: |
139142
gh issue comment "$ISSUE_URL" \
140143
--body-file exercise-toolkit/markdown-templates/step-feedback/watching-for-progress.md
141144
env:
142145
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
146+
143147
- name: Disable current workflow and enable next one
144148
run: |
145149
gh workflow disable "${{github.workflow}}"

.github/workflows/3-step.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
jobs:
1919
find_exercise:
2020
name: Find Exercise Issue
21-
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.5.0
21+
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.6.0
2222

2323
check_step_work:
2424
name: Check step work
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
repository: skills/exercise-toolkit
3838
path: exercise-toolkit
39-
ref: v0.5.0
39+
ref: v0.6.0
4040

4141
- name: Update comment - checking work
4242
run: |
@@ -144,24 +144,28 @@ jobs:
144144
steps:
145145
- name: Checkout
146146
uses: actions/checkout@v4
147+
147148
- name: Get response templates
148149
uses: actions/checkout@v4
149150
with:
150151
repository: skills/exercise-toolkit
151152
path: exercise-toolkit
152-
ref: v0.5.0
153+
ref: v0.6.0
154+
153155
- name: Create comment - add step content
154156
run: |
155157
gh issue comment "$ISSUE_URL" \
156158
--body-file "$STEP_4_FILE"
157159
env:
158160
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
161+
159162
- name: Create comment - watching for progress
160163
run: |
161164
gh issue comment "$ISSUE_URL" \
162165
--body-file exercise-toolkit/markdown-templates/step-feedback/watching-for-progress.md
163166
env:
164167
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
168+
165169
- name: Disable current workflow and enable next one
166170
run: |
167171
gh workflow disable "${{github.workflow}}"

.github/workflows/4-step.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
jobs:
1919
find_exercise:
2020
name: Find Exercise Issue
21-
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.5.0
21+
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.6.0
2222

2323
post_next_step_content:
2424
name: Post next step content
@@ -29,24 +29,28 @@ jobs:
2929
steps:
3030
- name: Checkout
3131
uses: actions/checkout@v4
32+
3233
- name: Get response templates
3334
uses: actions/checkout@v4
3435
with:
3536
repository: skills/exercise-toolkit
3637
path: exercise-toolkit
37-
ref: v0.5.0
38+
ref: v0.6.0
39+
3840
- name: Create comment - add step content
3941
run: |
4042
gh issue comment "$ISSUE_URL" \
4143
--body-file "$STEP_5_FILE"
4244
env:
4345
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
4447
- name: Create comment - watching for progress
4548
run: |
4649
gh issue comment "$ISSUE_URL" \
4750
--body-file exercise-toolkit/markdown-templates/step-feedback/watching-for-progress.md
4851
env:
4952
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
5054
- name: Disable current workflow and enable next one
5155
run: |
5256
gh workflow disable "${{github.workflow}}"

.github/workflows/5-step.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,34 @@ env:
1818
jobs:
1919
find_exercise:
2020
name: Find Exercise Issue
21-
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.5.0
21+
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.6.0
2222

2323
post_review_content:
2424
name: Post review content
2525
needs: [find_exercise]
2626
runs-on: ubuntu-latest
2727
env:
2828
ISSUE_URL: ${{ needs.find_exercise.outputs.issue-url }}
29+
2930
steps:
3031
- name: Checkout
3132
uses: actions/checkout@v4
33+
3234
- name: Create comment - add step content
3335
run: |
3436
gh issue comment "$ISSUE_URL" \
3537
--body-file "$REVIEW_FILE"
3638
env:
3739
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
3841
finish_exercise:
3942
name: Finish Exercise
4043
needs: [find_exercise, post_review_content]
41-
uses: skills/exercise-toolkit/.github/workflows/finish-exercise.yml@v0.5.0
44+
uses: skills/exercise-toolkit/.github/workflows/finish-exercise.yml@v0.6.0
4245
with:
4346
issue-url: ${{ needs.find_exercise.outputs.issue-url }}
47+
exercise-title: "Hello GitHub Actions"
48+
4449
disable_workflow:
4550
name: Disable this workflow
4651
needs: [find_exercise, post_review_content]

0 commit comments

Comments
 (0)