File tree 5 files changed +16
-41
lines changed
5 files changed +16
-41
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -56,12 +56,10 @@ jobs:
56
56
57
57
# Verify the learner added the file contents
58
58
- name : Check workflow contents, jobs
59
- run : |
60
- chmod a+x .github/script/check-file.sh
61
- ./.github/script/check-file.sh
62
- env :
63
- FILE : " index.html"
64
- SEARCH : " Hello from the codespace"
59
+ uses : skills/action-check-file@v1
60
+ with :
61
+ file : " index.html"
62
+ search : " Hello from the codespace"
65
63
66
64
# In README.md, switch step 1 for step 2.
67
65
- name : Update to step 2
Original file line number Diff line number Diff line change @@ -56,12 +56,10 @@ jobs:
56
56
57
57
# Verify the devcontainer.json has an image.
58
58
- name : Check devcontainer.json
59
- run : |
60
- chmod a+x .github/script/check-file.sh
61
- ./.github/script/check-file.sh
62
- env :
63
- FILE : " .devcontainer/devcontainer.json"
64
- SEARCH : " mcr.microsoft.com/vscode/devcontainers/universal:latest"
59
+ uses : skills/action-check-file@v1
60
+ with :
61
+ file : " .devcontainer/devcontainer.json"
62
+ search : " mcr.microsoft.com/vscode/devcontainers/universal:latest"
65
63
66
64
# In README.md, switch step 2 for step 3.
67
65
- name : Update to step 3
Original file line number Diff line number Diff line change @@ -56,12 +56,10 @@ jobs:
56
56
57
57
# Verify the postCreateCommand was added.
58
58
- name : Check for postCreateCommand
59
- run : |
60
- chmod a+x .github/script/check-file.sh
61
- ./.github/script/check-file.sh
62
- env :
63
- FILE : " .devcontainer/devcontainer.json"
64
- SEARCH : " postCreateCommand"
59
+ uses : skills/action-check-file@v1
60
+ with :
61
+ file : " .devcontainer/devcontainer.json"
62
+ search : " postCreateCommand"
65
63
66
64
# In README.md, switch step 3 for step 4.
67
65
- name : Update to step 4
Original file line number Diff line number Diff line change @@ -58,12 +58,10 @@ jobs:
58
58
59
59
# Verify the setup.sh added the file contents.
60
60
- name : Check workflow contents, jobs
61
- run : |
62
- chmod a+x .github/script/check-file.sh
63
- ./.github/script/check-file.sh
64
- env :
65
- FILE : " setup.sh"
66
- SEARCH : " install sl"
61
+ uses : skills/action-check-file@v1
62
+ with :
63
+ file : " setup.sh"
64
+ search : " install sl"
67
65
68
66
# In README.md, switch step 4 for step X.
69
67
- name : Update to step X
You can’t perform that action at this time.
0 commit comments