Skip to content

Commit 05c4853

Browse files
committed
Add CI job to check buckify output
1 parent 87f0deb commit 05c4853

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,5 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323
- uses: dtolnay/install-buck2@latest
24-
- run: git submodule update --init rust
25-
- run: git submodule update --init library/backtrace
26-
working-directory: rust
27-
- run: git submodule update --init library/stdarch
28-
working-directory: rust
24+
- run: ./submodule_init.sh
2925
- run: buck2 run stage2:rustc -- --version --verbose

.github/workflows/reindeer.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Reindeer
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
schedule: [cron: "40 1 * * *"]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
reindeer:
14+
name: Reindeer
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 45
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: dtolnay/rust-toolchain@stable
20+
- uses: dtolnay/install@reindeer
21+
- run: ./submodule_init.sh
22+
- run: reindeer buckify
23+
- name: Check reindeer-generated BUCK file up to date
24+
run: git diff --exit-code

0 commit comments

Comments
 (0)