Skip to content

Commit e091836

Browse files
committed
Update GitHub Actions dependencies and workflow
1 parent 361dbd5 commit e091836

File tree

3 files changed

+7
-17
lines changed

3 files changed

+7
-17
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414
- name: Setup Node.js
15-
uses: actions/setup-node@v3
15+
uses: actions/setup-node@v4
1616
with:
1717
node-version: 20
1818
cache: yarn

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v4
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL

.github/workflows/deploy-pages.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ jobs:
1212
deploy:
1313
runs-on: ubuntu-20.04
1414
steps:
15-
- uses: actions/checkout@master
15+
- uses: actions/checkout@v4
1616
- name: Use Node.js
17-
uses: actions/setup-node@v2-beta
17+
uses: actions/setup-node@v4
1818
with:
1919
node-version: 20
20+
cache: yarn
2021
- name: Install pandoc
2122
run: |
2223
URL="https://github.com/jgm/pandoc/releases/download/2.14.0.1/pandoc-2.14.0.1-1-amd64.deb"
@@ -27,19 +28,8 @@ jobs:
2728
run: |
2829
sudo apt-get update -y
2930
sudo apt-get install -y texlive texlive-fonts-extra latexmk
30-
- name: Get yarn cache directory path
31-
id: yarn-cache-dir-path
32-
run: echo "::set-output name=dir::$(yarn cache dir)"
33-
- uses: actions/cache@v2
34-
id: yarn-cache
35-
with:
36-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
37-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
38-
restore-keys: |
39-
${{ runner.os }}-yarn-
4031
- name: Fetch Yarn dependencies
41-
run: |
42-
yarn install
32+
run: yarn install
4333
- name: Build
4434
run: |
4535
set -euxo pipefail
@@ -52,7 +42,7 @@ jobs:
5242
yarn run prepare
5343
find docs_out -name .gitignore -delete -print
5444
- name: Deploy
55-
uses: peaceiris/actions-gh-pages@v3
45+
uses: peaceiris/actions-gh-pages@v4
5646
with:
5747
github_token: ${{ secrets.GITHUB_TOKEN }}
5848
publish_dir: ./docs_out

0 commit comments

Comments
 (0)