Skip to content

Commit 9beba44

Browse files
gomnitrixtisonkun
andauthored
refactor: migrate project bootstrap to xtask (#11)
Co-authored-by: tison <wander4096@gmail.com>
1 parent 84128ea commit 9beba44

File tree

11 files changed

+695
-129
lines changed

11 files changed

+695
-129
lines changed

.github/workflows/ci-bootstrap.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Copyright 2025 FastLabs Developers
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: CI Bootstrap
16+
on:
17+
pull_request:
18+
branches: [ main ]
19+
push:
20+
branches: [ main ]
21+
22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }}
24+
cancel-in-progress: true
25+
26+
jobs:
27+
bootstrap:
28+
name: Bootstrap
29+
runs-on: ubuntu-22.04
30+
steps:
31+
- uses: actions/checkout@v6
32+
- name: Install toolchain
33+
uses: dtolnay/rust-toolchain@nightly
34+
- uses: Swatinem/rust-cache@v2
35+
- name: Bootstrap cleanup
36+
run: cargo x bootstrap --cleanup
37+
- name: Bootstrap cleanup (After)
38+
run: cargo x bootstrap --cleanup

0 commit comments

Comments
 (0)