mirror of
https://github.com/google/alioth.git
synced 2024-10-23 15:00:13 +00:00
68c2688e4b
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](44c2b7a8a4...a5ac7e51b4
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
29 lines
556 B
YAML
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@a5ac7e51b41094c92402da3b24376905380afc29
|
|
- 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
|