Skip to content

Commit 6cba363

Browse files
Use toolchains.yml in lints.
1 parent 02548a9 commit 6cba363

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
13+
toolchains:
14+
uses: ./.github/workflows/toolchains.yml
1315
clippy:
1416
name: Run clippy on crates
1517
runs-on: ubuntu-latest

.github/workflows/toolchains.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
name: Install toolchains
1+
# A helper reusable workflow to install all the toolchains.
22

3-
#on:
4-
# workflow_call:
3+
name: Install toolchains
54

65
on:
7-
pull_request:
8-
merge_group:
9-
push:
10-
branches: [main]
6+
workflow_call:
117

128
jobs:
139
install-toolchains:
14-
permissions:
10+
#permissions:
1511
# Needed to install the toolchain.
16-
contents: write
12+
#contents: write
1713
runs-on: ubuntu-latest
1814

1915
steps:

0 commit comments

Comments
 (0)