mirror of
https://github.com/dndx/phantun.git
synced 2025-01-19 06:19:30 +08:00
22 lines
338 B
YAML
22 lines
338 B
YAML
name: Rust
|
|
|
|
on: [push, pull_request]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
- name: Run lint
|
|
run: cargo clippy --verbose
|
|
- name: Build
|
|
run: cargo build --verbose
|