Skip to content

Commit e055426

Browse files
committed
GHA: Add permissions and update Actions
1 parent 298b7dd commit e055426

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Tests
22

33
on: [push]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69

710
test:
@@ -16,11 +19,11 @@ jobs:
1619
steps:
1720

1821
- name: Checkout code
19-
uses: actions/checkout@v3
22+
uses: actions/checkout@v6
2023
with:
2124
fetch-depth: 1
2225

23-
- uses: actions/setup-node@v3
26+
- uses: actions/setup-node@v6
2427
with:
2528
node-version: 20
2629

0 commit comments

Comments
 (0)