Skip to content

Commit 8fcd84d

Browse files
committed
Just have CI check flake which will test everything
1 parent 677afa0 commit 8fcd84d

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,46 +3,6 @@ name: Continuous Integration Checks
33
on: [ push, pull_request ]
44

55
jobs:
6-
build:
7-
strategy:
8-
matrix:
9-
platform: [
10-
ubuntu-latest,
11-
macos-latest,
12-
]
13-
toolchain:
14-
[ stable,
15-
beta,
16-
1.75.0, # MSRV
17-
]
18-
include:
19-
- toolchain: stable
20-
check-fmt: true
21-
- toolchain: 1.75.0
22-
msrv: true
23-
runs-on: ${{ matrix.platform }}
24-
steps:
25-
- name: Checkout source code
26-
uses: actions/checkout@v3
27-
- name: Install Rust ${{ matrix.toolchain }} toolchain
28-
run: |
29-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
30-
rustup override set ${{ matrix.toolchain }}
31-
- name: Check formatting
32-
if: matrix.check-fmt
33-
run: rustup component add rustfmt && cargo fmt --all -- --check
34-
- name: Pin packages to allow for MSRV
35-
if: matrix.msrv
36-
run: |
37-
cargo update -p home --precise "0.5.9" --verbose # home v0.5.11 requires rustc 1.81 or newer
38-
- name: Build on Rust ${{ matrix.toolchain }}
39-
run: cargo build --verbose --color always
40-
- name: Test on Rust ${{ matrix.toolchain }}
41-
run: cargo test
42-
- name: Cargo check release on Rust ${{ matrix.toolchain }}
43-
run: cargo check --release
44-
- name: Cargo check doc on Rust ${{ matrix.toolchain }}
45-
run: cargo doc --release
466
check-flake:
477
name: Check Nix Flake
488
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)