Skip to content

Commit

Permalink
feat(ci): Add build test in ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
KuangjuX committed May 15, 2024
1 parent c2b1896 commit 26769c0
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,22 @@ jobs:
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Check code formatting
run: cargo fmt --all -- --check
run: cargo fmt --all -- --check

build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust-toolchain: [stable]
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust-toolchain }}
components: rust-src
override: true
- name: Build
run: cargo build

0 comments on commit 26769c0

Please sign in to comment.