Skip to content

Commit 5a3b98b

Browse files
authored
Merge pull request #115 from nodenv/test-workflow
test workflow
2 parents 5c05f8b + cfae0be commit 5a3b98b

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,20 @@ on:
44
pull_request:
55
schedule: [{ cron: "0 0 10 * *" }] # monthly https://crontab.guru/#0_0_10_*_*
66
workflow_dispatch:
7-
permissions: { contents: read }
7+
8+
permissions: {}
89

910
jobs:
11+
test:
12+
uses: nodenv/.github/.github/workflows/test.yml@v5
13+
with: { npm: false }
14+
permissions:
15+
contents: read
16+
packages: read
17+
id-token: write
18+
security-events: write
19+
statuses: write
20+
1021
brew-audit:
1122
runs-on: macos-latest
1223
steps:
@@ -43,13 +54,3 @@ jobs:
4354
for formula in Formula/*; do
4455
brew test "nodenv/nodenv/$(basename "${formula%.rb}")"
4556
done
46-
47-
test:
48-
uses: nodenv/.github/.github/workflows/test.yml@v5.2.0
49-
with: { npm: false }
50-
permissions:
51-
contents: read
52-
packages: read
53-
id-token: write
54-
security-events: write
55-
statuses: write

0 commit comments

Comments
 (0)