Skip to content

Commit 447ad65

Browse files
authored
Merge pull request #177 from DoubleML/m-gh-actions
increment versions of gh actions / update gh actions settings
2 parents a202d94 + 20a8cfd commit 447ad65

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

.github/workflows/check_styler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3131

3232
steps:
33-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v3
3434
with:
3535
fetch-depth: 2
3636

37-
- uses: r-lib/actions/setup-r@v1
37+
- uses: r-lib/actions/setup-r@v2
3838
with:
3939
r-version: ${{ matrix.config.r }}
4040

41-
- uses: r-lib/actions/setup-pandoc@v1
41+
- uses: r-lib/actions/setup-pandoc@v2
4242

4343
- name: Install dependencies
4444
run: |

.github/workflows/deploy_docu.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-20.04
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121
with:
2222
persist-credentials: false
2323
- name: Install SSH Client
@@ -79,14 +79,14 @@ jobs:
7979
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' }}
8080
uses: JamesIves/github-pages-deploy-action@3.7.1
8181
with:
82-
REPOSITORY_NAME: DoubleML/doubleml.github.io
83-
BRANCH: main
84-
FOLDER: docs/dev
85-
TARGET_FOLDER: r/dev
86-
GIT_CONFIG_NAME: DoubleML Deploy Bot
87-
GIT_CONFIG_EMAIL: DoubleML@users.noreply.github.com
88-
CLEAN: true
89-
SSH: true
82+
repository-name: DoubleML/doubleml.github.io
83+
branch: main
84+
folder: docs/dev
85+
target-folder: r/dev
86+
git-config-name: DoubleML Deploy Bot
87+
git-config-email: DoubleML@users.noreply.github.com
88+
clean: true
89+
ssh-key: ${{ secrets.DEPLOY_KEY }}
9090

9191
- name: Get tag
9292
run: echo RELEASE_VERSION=${GITHUB_REF:10} >> $GITHUB_ENV
@@ -95,24 +95,24 @@ jobs:
9595
if: ${{ github.event_name == 'release' }}
9696
uses: JamesIves/github-pages-deploy-action@3.7.1
9797
with:
98-
REPOSITORY_NAME: DoubleML/doubleml.github.io
99-
BRANCH: main
100-
FOLDER: docs/dev
101-
TARGET_FOLDER: r/${{env.RELEASE_VERSION}}
102-
GIT_CONFIG_NAME: DoubleML Deploy Bot
103-
GIT_CONFIG_EMAIL: DoubleML@users.noreply.github.com
104-
CLEAN: true
105-
SSH: true
98+
repository-name: DoubleML/doubleml.github.io
99+
branch: main
100+
folder: docs/dev
101+
target-folder: r/${{env.RELEASE_VERSION}}
102+
git-config-name: DoubleML Deploy Bot
103+
git-config-email: DoubleML@users.noreply.github.com
104+
clean: true
105+
ssh-key: ${{ secrets.DEPLOY_KEY }}
106106

107107
- name: Deploy to stable
108108
if: ${{ github.event_name == 'release' }}
109109
uses: JamesIves/github-pages-deploy-action@3.7.1
110110
with:
111-
REPOSITORY_NAME: DoubleML/doubleml.github.io
112-
BRANCH: main
113-
FOLDER: docs/dev
114-
TARGET_FOLDER: r/stable
115-
GIT_CONFIG_NAME: DoubleML Deploy Bot
116-
GIT_CONFIG_EMAIL: DoubleML@users.noreply.github.com
117-
CLEAN: true
118-
SSH: true
111+
repository-name: DoubleML/doubleml.github.io
112+
branch: main
113+
folder: docs/dev
114+
target-folder: r/stable
115+
git-config-name: DoubleML Deploy Bot
116+
git-config-email: DoubleML@users.noreply.github.com
117+
clean: true
118+
ssh-key: ${{ secrets.DEPLOY_KEY }}

.github/workflows/deploy_pkg.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
runs-on: ubuntu-20.04
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616

17-
- uses: r-lib/actions/setup-r@v1
17+
- uses: r-lib/actions/setup-r@v2
1818
with:
1919
r-version: 'release'
2020

21-
- uses: r-lib/actions/setup-pandoc@v1
21+
- uses: r-lib/actions/setup-pandoc@v2
2222

2323
- name: Query dependencies
2424
run: |
@@ -28,7 +28,7 @@ jobs:
2828
shell: Rscript {0}
2929

3030
- name: Cache R packages
31-
uses: actions/cache@v2
31+
uses: actions/cache@v3
3232
with:
3333
path: ${{ env.R_LIBS_USER }}
3434
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
R CMD build .
5252
53-
- uses: actions/upload-artifact@v2
53+
- uses: actions/upload-artifact@v3
5454
with:
5555
name: DoubleML-pkg
5656
path: DoubleML_*.tar.gz

.github/workflows/rcheck.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3636

3737
steps:
38-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v3
3939
with:
4040
fetch-depth: 2
4141

42-
- uses: r-lib/actions/setup-r@v1
42+
- uses: r-lib/actions/setup-r@v2
4343
with:
4444
r-version: ${{ matrix.config.r }}
4545

46-
- uses: r-lib/actions/setup-pandoc@v1
46+
- uses: r-lib/actions/setup-pandoc@v2
4747

4848
- name: Query dependencies
4949
run: |
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Cache R packages
5656
if: runner.os != 'Windows'
57-
uses: actions/cache@v2
57+
uses: actions/cache@v3
5858
with:
5959
path: ${{ env.R_LIBS_USER }}
6060
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-${{ matrix.config.mlr3 }}-1-${{ hashFiles('.github/depends.Rds') }}
@@ -112,7 +112,7 @@ jobs:
112112

113113
- name: Upload check results
114114
if: failure()
115-
uses: actions/upload-artifact@main
115+
uses: actions/upload-artifact@v3
116116
with:
117117
name: ${{ runner.os }}-r${{ matrix.config.r }}-${{ matrix.config.mlr3 }}-results
118118
path: check

0 commit comments

Comments
 (0)