Skip to content

Commit 0f90be5

Browse files
authored
Merge pull request #81 from gaborcsardi/fix/gha-latest
Use latest GHA workflows
2 parents 631fe3c + 1ff0749 commit 0f90be5

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
pull_request:
1111
branches: [main, master]
1212

13-
name: R-CMD-check
13+
name: R-CMD-check.yaml
1414

1515
permissions: read-all
1616

@@ -27,6 +27,8 @@ jobs:
2727
- {os: macos-latest, r: 'release'}
2828

2929
- {os: windows-latest, r: 'release'}
30+
# use 4.0 or 4.1 to check with rtools40's older compiler
31+
#- {os: windows-latest, r: 'oldrel-4'}
3032

3133
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
3234
- {os: ubuntu-latest, r: 'release'}
@@ -59,4 +61,4 @@ jobs:
5961
- uses: r-lib/actions/check-r-package@v2
6062
with:
6163
upload-snapshots: true
62-
build_args: 'c("--no-multiarch", "--no-manual","--compact-vignettes=gs+qpdf")'
64+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

.github/workflows/pkgdown.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ on:
99
types: [published]
1010
workflow_dispatch:
1111

12-
name: pkgdown
12+
name: pkgdown.yaml
13+
14+
permissions: read-all
1315

1416
jobs:
1517
pkgdown:
@@ -20,8 +22,10 @@ jobs:
2022
env:
2123
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2224
TORCH_INSTALL: 1
25+
permissions:
26+
contents: write
2327
steps:
24-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2529

2630
- uses: r-lib/actions/setup-pandoc@v2
2731

@@ -40,7 +44,7 @@ jobs:
4044

4145
- name: Deploy to GitHub pages 🚀
4246
if: github.event_name != 'pull_request'
43-
uses: JamesIves/github-pages-deploy-action@v4.4.1
47+
uses: JamesIves/github-pages-deploy-action@v4.5.0
4448
with:
4549
clean: false
4650
branch: gh-pages

.github/workflows/pr-commands.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
issue_comment:
55
types: [created]
66

7-
name: Commands
7+
name: pr-commands.yaml
8+
9+
permissions: read-all
810

911
jobs:
1012
document:
@@ -13,8 +15,10 @@ jobs:
1315
runs-on: ubuntu-latest
1416
env:
1517
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
18+
permissions:
19+
contents: write
1620
steps:
17-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
1822

1923
- uses: r-lib/actions/pr-fetch@v2
2024
with:
@@ -50,8 +54,10 @@ jobs:
5054
runs-on: ubuntu-latest
5155
env:
5256
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
57+
permissions:
58+
contents: write
5359
steps:
54-
- uses: actions/checkout@v3
60+
- uses: actions/checkout@v4
5561

5662
- uses: r-lib/actions/pr-fetch@v2
5763
with:

.github/workflows/test-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
branches: [main, master]
88

9-
name: test-coverage
9+
name: test-coverage.yaml
1010

1111
permissions: read-all
1212

0 commit comments

Comments
 (0)