Skip to content

Commit fa50e5d

Browse files
committed
≈Merge branch 'main' of github.com:LibraryCarpentry/lc-computational-thinking
2 parents 846c013 + e7ccaec commit fa50e5d

File tree

1,718 files changed

+609
-6788
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,718 files changed

+609
-6788
lines changed

.DS_Store

-8 KB
Binary file not shown.

.github/workflows/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This directory contains workflows to be used for Lessons using the {sandpaper}
44
lesson infrastructure. Two of these workflows require R (`sandpaper-main.yaml`
5-
and `pr-recieve.yaml`) and the rest are bots to handle pull request management.
5+
and `pr-receive.yaml`) and the rest are bots to handle pull request management.
66

77
These workflows will likely change as {sandpaper} evolves, so it is important to
88
keep them up-to-date. To do this in your lesson you can do the following in your
@@ -94,9 +94,9 @@ branch called `update/workflows` and a pull request is created. Maintainers are
9494
encouraged to review the changes and accept the pull request if the outputs
9595
are okay.
9696

97-
This update is run ~~weekly or~~ on demand.
97+
This update is run weekly or on demand.
9898

99-
### 03 Maintain: Update Pacakge Cache (update-cache.yaml)
99+
### 03 Maintain: Update Package Cache (update-cache.yaml)
100100

101101
For lessons that have generated content, we use {renv} to ensure that the output
102102
is stable. This is controlled by a single lockfile which documents the packages
@@ -140,7 +140,7 @@ Once the checks are finished, a comment is issued to the pull request, which
140140
will allow maintainers to determine if it is safe to run the
141141
"Receive Pull Request" workflow from new contributors.
142142

143-
### Recieve Pull Request (pr-recieve.yaml)
143+
### Receive Pull Request (pr-receive.yaml)
144144

145145
**Note of caution:** This workflow runs arbitrary code by anyone who creates a
146146
pull request. GitHub has safeguarded the token used in this workflow to have no
@@ -171,7 +171,7 @@ The artifacts produced are used by the next workflow.
171171

172172
### Comment on Pull Request (pr-comment.yaml)
173173

174-
This workflow is triggered if the `pr-recieve.yaml` workflow is successful.
174+
This workflow is triggered if the `pr-receive.yaml` workflow is successful.
175175
The steps in this workflow are:
176176

177177
1. Test if the workflow is valid and comment the validity of the workflow to the

.github/workflows/pr-close-signal.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
mkdir -p ./pr
1717
printf ${{ github.event.number }} > ./pr/NUM
1818
- name: Upload Diff
19-
uses: actions/upload-artifact@v3
19+
uses: actions/upload-artifact@v4
2020
with:
2121
name: pr
2222
path: ./pr

.github/workflows/pr-comment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
contents: write
8383
steps:
8484
- name: 'Checkout md outputs'
85-
uses: actions/checkout@v3
85+
uses: actions/checkout@v4
8686
with:
8787
ref: md-outputs
8888
path: built

.github/workflows/pr-receive.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: "Upload PR number"
2626
id: upload
2727
if: ${{ always() }}
28-
uses: actions/upload-artifact@v3
28+
uses: actions/upload-artifact@v4
2929
with:
3030
name: pr
3131
path: ${{ github.workspace }}/NR
@@ -58,10 +58,10 @@ jobs:
5858
MD: ${{ github.workspace }}/site/built
5959
steps:
6060
- name: "Check Out Main Branch"
61-
uses: actions/checkout@v3
61+
uses: actions/checkout@v4
6262

6363
- name: "Check Out Staging Branch"
64-
uses: actions/checkout@v3
64+
uses: actions/checkout@v4
6565
with:
6666
ref: md-outputs
6767
path: ${{ env.MD }}
@@ -107,20 +107,21 @@ jobs:
107107
shell: Rscript {0}
108108

109109
- name: "Upload PR"
110-
uses: actions/upload-artifact@v3
110+
uses: actions/upload-artifact@v4
111111
with:
112112
name: pr
113113
path: ${{ env.PR }}
114+
overwrite: true
114115

115116
- name: "Upload Diff"
116-
uses: actions/upload-artifact@v3
117+
uses: actions/upload-artifact@v4
117118
with:
118119
name: diff
119120
path: ${{ env.CHIVE }}
120121
retention-days: 1
121122

122123
- name: "Upload Build"
123-
uses: actions/upload-artifact@v3
124+
uses: actions/upload-artifact@v4
124125
with:
125126
name: built
126127
path: ${{ env.MD }}

.github/workflows/sandpaper-main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333

3434
- name: "Checkout Lesson"
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636

3737
- name: "Set up R"
3838
uses: r-lib/actions/setup-r@v2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.11.12
1+
0.16.7

.github/workflows/update-cache.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
needed: ${{ steps.renv.outputs.exists }}
4444
steps:
4545
- name: "Checkout Lesson"
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747
- id: renv
4848
run: |
4949
if [[ -d renv ]]; then
@@ -76,7 +76,7 @@ jobs:
7676
steps:
7777

7878
- name: "Checkout Lesson"
79-
uses: actions/checkout@v3
79+
uses: actions/checkout@v4
8080

8181
- name: "Set up R"
8282
uses: r-lib/actions/setup-r@v2

.github/workflows/update-workflows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: ${{ needs.check_token.outputs.workflow == 'true' }}
3737
steps:
3838
- name: "Checkout Repository"
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040

4141
- name: Update Workflows
4242
id: update

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@ po/*~
5151

5252
# renv detritus
5353
renv/sandbox/
54+
55+
## mac os
56+
*DS_Store

_includes/accordion.html

Lines changed: 0 additions & 54 deletions
This file was deleted.

_includes/alert.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

_includes/bootstrap-icons/123.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/activity.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/alarm-fill.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/alarm.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

_includes/bootstrap-icons/align-bottom.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

_includes/bootstrap-icons/align-center.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/align-end.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

_includes/bootstrap-icons/align-middle.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/align-start.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

_includes/bootstrap-icons/align-top.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

_includes/bootstrap-icons/alt.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/app-indicator.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

_includes/bootstrap-icons/app.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/apple.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

_includes/bootstrap-icons/archive-fill.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/archive.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/arrow-90deg-down.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/arrow-90deg-left.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/arrow-90deg-right.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/arrow-90deg-up.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/arrow-bar-down.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/arrow-bar-left.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/arrow-bar-right.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/arrow-bar-up.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

_includes/bootstrap-icons/arrow-clockwise.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)