Skip to content

Commit 55d6e13

Browse files
authored
fix: update checkout,setup-python,cache
>The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v1. For more info: >https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
1 parent 041ff2d commit 55d6e13

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,29 @@ jobs:
2323
chmod 600 $HOME/.ssh/id_ed25519
2424
2525
# site_generator
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2727
with:
2828
repository: cpprefjp/site_generator
2929
path: site_generator
3030
- run: git submodule update -i
3131
working-directory: site_generator
3232

3333
# kunai
34-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v4
3535
with:
3636
repository: cpprefjp/kunai
3737
path: site_generator/kunai
3838
- run: git submodule update -i
3939
working-directory: site_generator/kunai
4040

4141
# cpprefjp.github.io
42-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v4
4343
with:
4444
repository: cpprefjp/cpprefjp.github.io
4545
path: site_generator/cpprefjp/cpprefjp.github.io
4646

4747
# site
48-
- uses: actions/checkout@v2
48+
- uses: actions/checkout@v4
4949
with:
5050
repository: cpprefjp/site
5151
path: site_generator/cpprefjp/site
@@ -55,7 +55,7 @@ jobs:
5555
working-directory: site_generator/cpprefjp/site
5656

5757
- name: Set up Python 3.x
58-
uses: actions/setup-python@v1
58+
uses: actions/setup-python@v5
5959
with:
6060
python-version: 3.11
6161
# 3.12でUndefined symbolエラーがでた

.github/workflows/code_qualify_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Set up Python
10-
uses: actions/setup-python@v1
10+
uses: actions/setup-python@v5
1111
with:
1212
python-version: '3.x'
1313
- name: Install dependencies
1414
run: |
1515
python -m pip install --upgrade pip
1616
pip install requests
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: check
1919
run: python3 .github/workflows/script/code_qualify_check.py

.github/workflows/detect_forbidden_characters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
cache-version: v1
2121
steps:
2222
- id: cache-ripgrep
23-
uses: actions/cache@v1
23+
uses: actions/cache@v3
2424
with:
2525
path: ${{ env.BIN_DIR }}
2626
key: ${{ env.cache-version }}-ripgrep-${{ env.RIPGREP_VERSION }}
@@ -31,7 +31,7 @@ jobs:
3131
mkdir -p $BIN_DIR
3232
tar xvf ripgrep-$RIPGREP_VERSION-x86_64-unknown-linux-musl.tar.gz --strip=1 --no-anchor -C $BIN_DIR rg
3333
working-directory: ${{ runner.temp }}
34-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v4
3535
with:
3636
path: ${{ env.REPO_DIR }}
3737
- name: check

.github/workflows/inner_link_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Set up Python
10-
uses: actions/setup-python@v1
10+
uses: actions/setup-python@v5
1111
with:
1212
python-version: '3.x'
1313
- name: Install dependencies
1414
run: |
1515
python -m pip install --upgrade pip
1616
pip install requests
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: check
1919
run: python3 .github/workflows/script/link_check.py --check-inner-link

.github/workflows/meta_header_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Set up Python
10-
uses: actions/setup-python@v1
10+
uses: actions/setup-python@v5
1111
with:
1212
python-version: '3.x'
1313
- name: Install dependencies
1414
run: |
1515
python -m pip install --upgrade pip
1616
pip install requests
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: check
1919
run: python3 .github/workflows/script/meta_header_check.py

.github/workflows/ngword_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Set up Python
10-
uses: actions/setup-python@v1
10+
uses: actions/setup-python@v5
1111
with:
1212
python-version: '3.x'
1313
- name: Install dependencies
1414
run: |
1515
python -m pip install --upgrade pip
1616
pip install requests
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: check
1919
run: python3 .github/workflows/script/ngword_check.py

.github/workflows/outer_link_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Set up Python
15-
uses: actions/setup-python@v1
15+
uses: actions/setup-python@v5
1616
with:
1717
python-version: '3.x'
1818
- name: Install dependencies
1919
run: |
2020
python -m pip install --upgrade pip
2121
pip install requests
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
with:
2424
ref: master
2525
- name: check

0 commit comments

Comments
 (0)