File tree Expand file tree Collapse file tree 5 files changed +94
-161
lines changed Expand file tree Collapse file tree 5 files changed +94
-161
lines changed Original file line number Diff line number Diff line change 1+ # pkgdown workflow of the mlr3 ecosystem v0.1.0
2+ # https://github.com/mlr-org/actions
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+ release :
11+ types :
12+ - published
13+ workflow_dispatch :
14+
15+ name : pkgdown
16+
17+ jobs :
18+ pkgdown :
19+ runs-on : ubuntu-latest
20+
21+ concurrency :
22+ group : pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
23+ env :
24+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
25+ steps :
26+ - uses : actions/checkout@v4
27+
28+ - uses : r-lib/actions/setup-pandoc@v2
29+
30+ - uses : r-lib/actions/setup-r@v2
31+
32+ - uses : r-lib/actions/setup-r-dependencies@v2
33+ with :
34+ extra-packages : any::pkgdown, local::.
35+ needs : website
36+
37+ - name : Install template
38+ run : pak::pkg_install("mlr-org/mlr3pkgdowntemplate")
39+ shell : Rscript {0}
40+
41+ - name : Build site
42+ run : pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
43+ shell : Rscript {0}
44+
45+ - name : Deploy
46+ if : github.event_name != 'pull_request'
47+ 48+ with :
49+ clean : false
50+ branch : gh-pages
51+ folder : docs
Original file line number Diff line number Diff line change 1+ # r cmd check workflow of the mlr3 ecosystem v0.1.0
2+ # https://github.com/mlr-org/actions
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - main
8+ pull_request :
9+ branches :
10+ - main
11+
12+ name : r-cmd-check
13+
14+ jobs :
15+ r-cmd-check :
16+ runs-on : ${{ matrix.config.os }}
17+
18+ name : ${{ matrix.config.os }} (${{ matrix.config.r }})
19+
20+ env :
21+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
22+
23+ strategy :
24+ fail-fast : false
25+ matrix :
26+ config :
27+ - {os: ubuntu-latest, r: 'devel'}
28+ - {os: ubuntu-latest, r: 'release'}
29+
30+ steps :
31+ - uses : actions/checkout@v4
32+
33+ - uses : r-lib/actions/setup-r@v2
34+ with :
35+ r-version : ${{ matrix.config.r }}
36+
37+ - uses : r-lib/actions/setup-r-dependencies@v2
38+ with :
39+ extra-packages : any::rcmdcheck
40+ needs : check
41+
42+ - uses : r-lib/actions/check-r-package@v2
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22# R specific hooks: https://github.com/lorenzwalthert/precommit
33repos :
44 - repo : https://github.com/lorenzwalthert/precommit
5- rev : v0.4.3.9003
5+ rev : v0.4.3.9012
66 hooks :
77 - id : style-files
88 args : [--style_pkg=styler.mlr, --style_fun=mlr_style]
You can’t perform that action at this time.
0 commit comments