Skip to content

Commit c78af13

Browse files
authored
ci: Update versions of actions (discordjs#10270)
* ci: update versions of actions * ci: attempt fix
1 parent 914cc4b commit c78af13

File tree

16 files changed

+84
-64
lines changed

16 files changed

+84
-64
lines changed

.github/workflows/cleanup-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Cleanup caches
1717
run: |

.github/workflows/deploy-website.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
if: github.repository_owner == 'discordjs'
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

19-
- name: Install Node.js v18
20-
uses: actions/setup-node@v3
19+
- name: Install Node.js v20
20+
uses: actions/setup-node@v4
2121
with:
22-
node-version: 18
22+
node-version: 20
2323

2424
- name: Install dependencies
2525
uses: ./packages/actions/src/pnpmCache

.github/workflows/deprecate-version.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
if: github.repository_owner == 'discordjs'
3535
steps:
3636
- name: Checkout repository
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838

39-
- name: Install Node.js v18
40-
uses: actions/setup-node@v3
39+
- name: Install Node.js v20
40+
uses: actions/setup-node@v4
4141
with:
42-
node-version: 18
42+
node-version: 20
4343

4444
- name: Install dependencies
4545
uses: ./packages/actions/src/pnpmCache

.github/workflows/documentation.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ jobs:
3636
if: github.repository_owner == 'discordjs'
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
with:
4141
ref: ${{ inputs.ref || '' }}
4242

43-
- name: Install node.js v18
44-
uses: actions/setup-node@v3
43+
- name: Install Node.js v20
44+
uses: actions/setup-node@v4
4545
with:
46-
node-version: 18
46+
node-version: 20
4747

4848
- name: Install dependencies
4949
uses: ./packages/actions/src/pnpmCache
@@ -53,7 +53,7 @@ jobs:
5353

5454
- name: Checkout main repository
5555
if: ${{ inputs.ref && inputs.ref != 'main' }}
56-
uses: actions/checkout@v3
56+
uses: actions/checkout@v4
5757
with:
5858
path: 'main'
5959

@@ -93,7 +93,7 @@ jobs:
9393
done
9494
9595
- name: Checkout docs repository
96-
uses: actions/checkout@v3
96+
uses: actions/checkout@v4
9797
with:
9898
repository: 'discordjs/docs'
9999
token: ${{ secrets.DJS_DOCS }}
@@ -211,12 +211,12 @@ jobs:
211211
if: github.repository_owner == 'discordjs'
212212
steps:
213213
- name: Checkout repository
214-
uses: actions/checkout@v3
214+
uses: actions/checkout@v4
215215

216-
- name: Install node.js v18
217-
uses: actions/setup-node@v3
216+
- name: Install Node.js v20
217+
uses: actions/setup-node@v4
218218
with:
219-
node-version: 18
219+
node-version: 20
220220

221221
- name: Install dependencies
222222
uses: ./packages/actions/src/pnpmCache

.github/workflows/issue-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
issue-triage:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: github/issue-labeler@v3.2
9+
- uses: github/issue-labeler@v3.4
1010
with:
1111
repo-token: '${{ secrets.GITHUB_TOKEN }}'
1212
configuration-path: .github/issue-labeler.yml

.github/workflows/label-sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
if: github.repository_owner == 'discordjs'
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Label sync
21-
uses: crazy-max/ghaction-github-labeler@v4
21+
uses: crazy-max/ghaction-github-labeler@v5
2222
with:
2323
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
permissions:
1212
issues: write
1313
steps:
14-
- uses: dessant/lock-threads@v4
14+
- uses: dessant/lock-threads@v5
1515
with:
1616
github-token: ${{ secrets.GITHUB_TOKEN }}
1717
issue-inactive-days: 365

.github/workflows/pr-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Automatically label PR
10-
uses: actions/labeler@v4
10+
uses: actions/labeler@v5
1111
with:
1212
repo-token: '${{ secrets.GITHUB_TOKEN }}'
1313
sync-labels: true

.github/workflows/publish-dev-docker.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
if: github.repository_owner == 'discordjs'
1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

15-
- name: Install node.js v18
16-
uses: actions/setup-node@v3
15+
- name: Install Node.js v20
16+
uses: actions/setup-node@v4
1717
with:
18-
node-version: 18
18+
node-version: 20
1919

2020
- name: Install dependencies
2121
uses: ./packages/actions/src/pnpmCache
2222

2323
- name: Set up Docker Buildx
24-
uses: docker/setup-buildx-action@v2
24+
uses: docker/setup-buildx-action@v3
2525

2626
- name: Login to DockerHub
2727
run: echo ${{ secrets.DOCKER_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin

.github/workflows/publish-dev.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
if: github.repository_owner == 'discordjs'
4444
steps:
4545
- name: Checkout repository
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747
with:
4848
fetch-depth: 0
4949

50-
- name: Install node.js v18
51-
uses: actions/setup-node@v3
50+
- name: Install Node.js v20
51+
uses: actions/setup-node@v4
5252
with:
53-
node-version: 18
53+
node-version: 20
5454
registry-url: https://registry.npmjs.org/
5555

5656
- name: Check the current development version

0 commit comments

Comments
 (0)