testing-language-server/.github/workflows/ci.yml
2024-06-30 22:30:17 +09:00

30 lines
512 B
YAML

name: Rust CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Build (required step)
run: cargo build --workspace
- name: Run tests
run: cargo test --verbose --workspace -- --nocapture