Skip to content

Commit 68c2860

Browse files
Use toolchains.yml in lints.
1 parent 02548a9 commit 68c2860

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
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: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
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:

0 commit comments

Comments
 (0)