1 |
commit: 43ae93ea735d9ad8878b0c1a0659cf0f1a083981 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 29 15:52:00 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 29 16:41:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=43ae93ea |
7 |
|
8 |
.github: add basic cargo checks |
9 |
|
10 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
11 |
|
12 |
.github/workflows/rust.yml | 26 ++++++++++++++++++++++++++ |
13 |
1 file changed, 26 insertions(+) |
14 |
|
15 |
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml |
16 |
new file mode 100644 |
17 |
index 0000000..885d349 |
18 |
--- /dev/null |
19 |
+++ b/.github/workflows/rust.yml |
20 |
@@ -0,0 +1,26 @@ |
21 |
+name: Rust checks |
22 |
+ |
23 |
+on: |
24 |
+ push: |
25 |
+ branches: [ master ] |
26 |
+ pull_request: |
27 |
+ branches: [ master ] |
28 |
+ |
29 |
+env: |
30 |
+ CARGO_TERM_COLOR: always |
31 |
+ |
32 |
+jobs: |
33 |
+ build: |
34 |
+ runs-on: ubuntu-latest |
35 |
+ steps: |
36 |
+ - uses: actions/checkout@v2 |
37 |
+ - name: cargo build |
38 |
+ run: cargo build --verbose |
39 |
+ - name: cargo test |
40 |
+ run: cargo test --verbose |
41 |
+ - name: cargo clippy |
42 |
+ run: cargo clippy |
43 |
+ - name: cargo audit |
44 |
+ run: cargo audit --color always |
45 |
+ - name: cargo outdated |
46 |
+ run: cargo outdated --color always --exit-code 0 |