Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wenyuzhao committed Mar 13, 2024
1 parent 2ffb3ce commit 38088c2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/ci.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Rust

on: [push, pull_request]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- name: Run fmt checks
run: cargo fmt -- --check
- name: Run lints
run: cargo clippy -- -D warnings
- name: Test (Debug)
run: cargo test
- name: Test (Release)
run: cargo test --release

0 comments on commit 38088c2

Please sign in to comment.