Skip to content

Commit 569e25c

Browse files
committed
Merge branch 'master' into feature/tui
2 parents b058a92 + c7921ba commit 569e25c

52 files changed

Lines changed: 263 additions & 2394 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/rust-cache.yml

Whitespace-only changes.
Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,38 @@
1-
on: [ push ]
1+
on:
2+
push:
3+
branches:
4+
- master
25

3-
name: build
6+
name: Check buddy
47

58
jobs:
69
check:
7-
name: Rust project
810
runs-on: ubuntu-latest
911
steps:
10-
- uses: actions/checkout@v2
11-
- name: Install latest nightly
12-
uses: actions-rs/toolchain@v1
12+
- uses: actions/checkout@v3
13+
- uses: actions-rs/toolchain@v1
1314
with:
14-
toolchain: nightly
15+
toolchain: stable
1516
override: true
1617
components: rustfmt, clippy
17-
18-
- name: Run cargo check
18+
- uses: Swatinem/rust-cache@v2
19+
- name: Check
20+
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
21+
- name: rustfmt
22+
run: cargo fmt --all --check
23+
test:
24+
needs: check
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v3
28+
- uses: actions-rs/toolchain@v1
29+
with:
30+
toolchain: stable
31+
override: true
32+
components: rustfmt, clippy
33+
- uses: Swatinem/rust-cache@v2
34+
- name: Run cargo test
1935
uses: actions-rs/cargo@v1
2036
with:
21-
command: check
37+
command: test
38+
args: --workspace --all

0 commit comments

Comments
 (0)