mirror of https://github.com/zkat/cacache-rs.git
meta: GH-based build
This commit is contained in:
parent
db7e33d67f
commit
4f34257f7a
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: Rust
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Components
|
||||||
|
run: rustup component add clippy
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --verbose
|
||||||
|
- name: Clippy
|
||||||
|
run: cargo clippy -- -D warnings
|
||||||
|
- name: Run tests
|
||||||
|
run: cargo test --verbose
|
||||||
Loading…
Reference in New Issue