diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-19 23:01:15 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-19 23:01:15 +0800 |
| commit | acb11e74a7f72d4186166e27c37a2b95e24897a5 (patch) | |
| tree | a8198c74826fa19c4f6ed67f89ab4591a920f05d /.github | |
| parent | 86198d8722e1a2dcfcbbb5c902e4072432cb51fd (diff) | |
ci: rust
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/rust.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..488e737 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,21 @@ +name: Rust + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose |
