aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-07-29 08:52:00 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-07-29 09:41:08 -0700
commit43ae93ea735d9ad8878b0c1a0659cf0f1a083981 (patch)
tree4350d7831128cf38f837af96d57e583f6ac0b187 /.github
parentupdate deps and bump to 0.3.2 (diff)
downloadcargo-ebuild-43ae93ea735d9ad8878b0c1a0659cf0f1a083981.tar.gz
cargo-ebuild-43ae93ea735d9ad8878b0c1a0659cf0f1a083981.tar.bz2
cargo-ebuild-43ae93ea735d9ad8878b0c1a0659cf0f1a083981.zip
.github: add basic cargo checks
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..885d349
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,26 @@
+name: Rust checks
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: cargo build
+ run: cargo build --verbose
+ - name: cargo test
+ run: cargo test --verbose
+ - name: cargo clippy
+ run: cargo clippy
+ - name: cargo audit
+ run: cargo audit --color always
+ - name: cargo outdated
+ run: cargo outdated --color always --exit-code 0