Skip to content

Commit 0591fe7

Browse files
committed
Merge the two CI pipelines
1 parent de40ec5 commit 0591fe7

File tree

2 files changed

+23
-30
lines changed

2 files changed

+23
-30
lines changed

.github/workflows/ci-lint.yaml

-26
This file was deleted.

.github/workflows/ci-build.yaml renamed to .github/workflows/ci.yaml

+23-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,35 @@
11
---
22
name: CI - Build
3-
"on":
3+
on:
44
pull_request:
55
push:
66
branches:
77
- "master"
88
schedule:
99
- cron: "0 16 * * 1" # 8am PST every Monday
1010
jobs:
11-
ci:
12-
name: Format, lint, and test
11+
lint:
12+
name: PR Checks
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
submodules: recursive
18+
19+
- name: Install rust
20+
run: |
21+
rustup -V
22+
rustup set profile minimal
23+
rustup toolchain install stable
24+
rustup show
25+
26+
- name: Check Formatting
27+
run: cargo fmt --check --all
28+
29+
- name: Clippy
30+
run: cargo clippy --check --workspace --all-features
31+
build:
32+
name: Build and test
1333
runs-on: ${{ matrix.os }}
1434
strategy:
1535
matrix:
@@ -46,7 +66,6 @@ jobs:
4666
- uses: actions/checkout@v4
4767
with:
4868
submodules: recursive
49-
- uses: davidB/rust-cargo-make@v1
5069

5170
- name: Install musl tools
5271
if: matrix.needs_musl

0 commit comments

Comments
 (0)