File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ jobs:
19
19
- name : Set up Ruby
20
20
uses : ruby/setup-ruby@v1
21
21
with :
22
- ruby-version : ' 2.7 '
22
+ ruby-version : ' 3.0 '
23
23
bundler-cache : true
24
24
25
25
- name : Set up Python
26
- uses : setup-python@v5.1.0
26
+ uses : actions/ setup-python@v5.1.0
27
27
with :
28
28
python-version : ' 3.x'
29
29
55
55
56
56
- name : Restore R Cache
57
57
if : steps.check-rmd.outputs.count != 0
58
- uses : actions/cache@v2
58
+ uses : actions/cache@v4
59
59
with :
60
60
path : ${{ env.R_LIBS_USER }}
61
61
key : ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
79
79
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
80
80
shell : Rscript {0}
81
81
82
-
83
82
- name : Install system dependencies for R packages
84
83
if : steps.check-rmd.outputs.count != 0
85
84
run : |
98
97
ref : gh-pages
99
98
path : gh-pages
100
99
100
+ - name : Validate workshop website
101
+ # https://github.com/carpentries/styles/issues/551 is no longer relevant as styles shouldn't be used for
102
+ # lessons but only workshop templates. So, always run the workshop checks now.
103
+ run : make workshop-check
104
+ if : always()
105
+
101
106
- name : Commit and Push
102
107
if : ${{ github.event_name == 'push' && steps.check-rmd.outputs.count != 0 && github.ref != 'refs/heads/gh-pages'}}
103
108
run : |
@@ -117,9 +122,4 @@ jobs:
117
122
git commit --allow-empty -m "[Github Actions] render website (via ${{ github.sha }})"
118
123
git push origin gh-pages
119
124
# return
120
- cd ..
121
-
122
- # waiting for https://github.com/carpentries/styles/issues/551
123
- # to be addressed
124
- # - run: make lesson-check-all
125
- # if: always()
125
+ cd ..
You can’t perform that action at this time.
0 commit comments