Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Commit fc7da66

Browse files
committed
Update CI actions
1 parent d5b3c48 commit fc7da66

File tree

4 files changed

+12
-22
lines changed

4 files changed

+12
-22
lines changed

.deepsource.toml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/binary.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,19 @@ env:
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+
1416
jobs:
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

.github/workflows/dockerfile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111
IMAGE_NAME: ${{ github.repository }}
1212

1313
name: Build Docker image
14+
1415
jobs:
1516
build:
1617
runs-on: ubuntu-22.04

.github/workflows/linters.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
on:
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

1111
jobs:
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:
@@ -36,6 +33,7 @@ jobs:
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

0 commit comments

Comments
 (0)