20 lines
306 B
YAML
20 lines
306 B
YAML
name: Rust CI
|
|
on: [push, pull_request]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build-and-test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
run: cargo build --verbose
|
|
|
|
- name: Test
|
|
run: cargo test --verbose
|