alioth/.github/workflows/rust.yml
dependabot[bot] a2dd2936bf ci: Bump actions/checkout from 4.1.6 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 13:21:44 -07:00

29 lines
556 B
YAML

name: Rust
permissions: read-all
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build_test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Build
run: cargo build --verbose
- name: Format
run: cargo fmt --check
# TODO: some KVM related tests cannot run in github runners.
# - name: Run tests
# run: cargo test --verbose
- name: Clippy
run: cargo clippy