This repository was archived by the owner on Jun 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +12
-22
lines changed
Expand file tree Collapse file tree 4 files changed +12
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111 CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER : clang
1212 RUSTFLAGS : " --cfg tokio_unstable -Clink-arg=-fuse-ld=mold -Zshare-generics=y"
1313
14+ name : Build executable
15+
1416jobs :
1517 build :
1618 name : Build binary
1719 runs-on : ubuntu-latest
1820 steps :
1921 - uses : actions/checkout@v4
20-
21- - run : |
22- sudo apt update
23- sudo apt install -y mold clang pkgconf
24-
22+ - uses : rui314/setup-mold@v1
2523 - uses : actions-rust-lang/setup-rust-toolchain@v1
2624 with :
2725 target : x86_64-unknown-linux-gnu
26+ toolchain : nightly
2827
2928 - name : Build
3029 run : cargo build --release --target x86_64-unknown-linux-gnu
Original file line number Diff line number Diff line change 1111 IMAGE_NAME : ${{ github.repository }}
1212
1313name : Build Docker image
14+
1415jobs :
1516 build :
1617 runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 11on :
2- pull_request :
3-
42 push :
3+ paths-ignore :
4+ - " **.md"
5+ - " **.ftl"
56 branches :
67 - master
78
8-
9- name : Linters
9+ name : Lint code
1010
1111jobs :
1212 fmt :
@@ -15,14 +15,11 @@ jobs:
1515 steps :
1616 - uses : actions/checkout@v2
1717
18- - uses : actions-rs/ toolchain@v1
18+ - uses : actions-rust-lang/setup-rust- toolchain@v1
1919 with :
20- profile : minimal
20+ components : rustfmt
2121 toolchain : nightly
2222 override : true
23-
24-
25- - run : rustup component add rustfmt
2623
2724 - uses : actions-rs/cargo@v1
2825 with :
3633 - uses : actions/checkout@v2
3734 - uses : rui314/setup-mold@v1
3835 - uses : actions-rs/toolchain@v1
36+ - uses : actions-rust-lang/setup-rust-toolchain@v1
3937 with :
4038 toolchain : nightly
4139 components : clippy
You can’t perform that action at this time.
0 commit comments