Skip to content

Commit aef1646

Browse files
committed
CI: just build
1 parent d51dfde commit aef1646

1 file changed

Lines changed: 4 additions & 36 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
13-
check:
14-
name: Check
13+
build:
14+
name: Build
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
@@ -37,37 +37,5 @@ jobs:
3737
path: target
3838
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
3939

40-
- name: Run cargo check
41-
run: cargo check --all-features
42-
43-
test:
44-
name: Test
45-
runs-on: ubuntu-latest
46-
steps:
47-
- uses: actions/checkout@v4
48-
49-
- name: Install Rust
50-
uses: dtolnay/rust-toolchain@stable
51-
52-
- name: Cache cargo registry
53-
uses: actions/cache@v4
54-
with:
55-
path: ~/.cargo/registry
56-
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
57-
58-
- name: Cache cargo index
59-
uses: actions/cache@v4
60-
with:
61-
path: ~/.cargo/git
62-
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
63-
64-
- name: Cache cargo build
65-
uses: actions/cache@v4
66-
with:
67-
path: target
68-
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
69-
70-
- name: Run tests
71-
run: cargo test --lib
72-
env:
73-
RUST_BACKTRACE: 1
40+
- name: Build
41+
run: cargo build --release

0 commit comments

Comments
 (0)