mirror of
https://github.com/chatmail/core.git
synced 2026-05-01 20:36:31 +03:00
wip move some ci tasks to gh-actions (#998)
* add-action-rs-clippy-action just to try this action out * add --all argument * rm --all argument again * add cargo check and fmt * disable circle ci counterparts(fetch, clippy, fmt)
This commit is contained in:
committed by
holger krekel
parent
1953b95c57
commit
775c36bb65
@@ -187,7 +187,7 @@ workflows:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
jobs:
|
jobs:
|
||||||
- cargo_fetch
|
# - cargo_fetch
|
||||||
|
|
||||||
- remote_tests_rust
|
- remote_tests_rust
|
||||||
|
|
||||||
@@ -197,12 +197,12 @@ workflows:
|
|||||||
# requires:
|
# requires:
|
||||||
# - build_test_docs_wheel
|
# - build_test_docs_wheel
|
||||||
# - build_doxygen
|
# - build_doxygen
|
||||||
- rustfmt:
|
# - rustfmt:
|
||||||
requires:
|
# requires:
|
||||||
- cargo_fetch
|
# - cargo_fetch
|
||||||
- clippy:
|
# - clippy:
|
||||||
requires:
|
# requires:
|
||||||
- cargo_fetch
|
# - cargo_fetch
|
||||||
|
|
||||||
- build_doxygen
|
- build_doxygen
|
||||||
|
|
||||||
|
|||||||
47
.github/workflows/code-quality.yml
vendored
Normal file
47
.github/workflows/code-quality.yml
vendored
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
on: push
|
||||||
|
name: Code Quality
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
check:
|
||||||
|
name: Check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: nightly-2019-11-06
|
||||||
|
override: true
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: check
|
||||||
|
|
||||||
|
fmt:
|
||||||
|
name: Rustfmt
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: nightly-2019-11-06
|
||||||
|
override: true
|
||||||
|
- run: rustup component add rustfmt
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: fmt
|
||||||
|
args: --all -- --check
|
||||||
|
|
||||||
|
run_clippy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: nightly-2019-11-06
|
||||||
|
components: clippy
|
||||||
|
override: true
|
||||||
|
- uses: actions-rs/clippy-check@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
args: --all-features
|
||||||
Reference in New Issue
Block a user