diff options
-rw-r--r-- | nitrocli/CHANGELOG.md | 4 | ||||
-rw-r--r-- | nitrocli/ci/gitlab-ci.yml | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/nitrocli/CHANGELOG.md b/nitrocli/CHANGELOG.md index 6ed2a1d..6eda412 100644 --- a/nitrocli/CHANGELOG.md +++ b/nitrocli/CHANGELOG.md @@ -6,6 +6,10 @@ Unreleased `nitrokey-sys` version `3.4.1` as well as `rand` version `0.4.3` as indirect dependencies - Removed the `hid`, `hidapi-sys` and `pkg-config` dependencies +- Enabled CI pipeline comprising code style conformance checks, linting, + and building of the project +- Added badges indicating pipeline status, current `crates.io` published + version of the crate, and minimum version of `rustc` required 0.1.3 diff --git a/nitrocli/ci/gitlab-ci.yml b/nitrocli/ci/gitlab-ci.yml index d2301a3..c51a6bd 100644 --- a/nitrocli/ci/gitlab-ci.yml +++ b/nitrocli/ci/gitlab-ci.yml @@ -27,3 +27,9 @@ lint:clippy: -A warnings -A clippy::float_cmp -A clippy::cast_ptr_alignment - cargo clean --package=nitrocli - cargo clippy --all-targets --all-features -- -D warnings + +format:rustfmt: + script: + - rustup component add rustfmt + - cd nitrocli + - cargo fmt --all -- --check |