Squashed 'components/zinit/' content from commit 1b76c06
git-subtree-dir: components/zinit git-subtree-split: 1b76c062fe31d552d1b7b23484ce163995a81482
This commit is contained in:
36
.github/workflows/rust.yml
vendored
Normal file
36
.github/workflows/rust.yml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
name: Rust
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
name: Checkout code
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- uses: actions-rs/toolchain@v1
|
||||
name: Install toolchain
|
||||
with:
|
||||
toolchain: stable
|
||||
target: x86_64-unknown-linux-musl
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: Check formatting
|
||||
with:
|
||||
command: fmt
|
||||
args: -- --check
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: Run tests (ahm!)
|
||||
with:
|
||||
command: test
|
||||
args: --verbose
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: Run clippy
|
||||
with:
|
||||
command: clippy
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: Build
|
||||
with:
|
||||
command: build
|
||||
args: --verbose
|
||||
Reference in New Issue
Block a user