Add pipeline
This commit is contained in:
parent
af8bdb2a2f
commit
732ac0092a
19
.github/workflows/ci.yml
vendored
Normal file
19
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
name: Rust project
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install latest stable
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
components: rustfmt, clippy
|
||||||
|
|
||||||
|
- name: Run cargo check
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: check
|
||||||
|
|
Loading…
Reference in New Issue
Block a user