Last active
December 9, 2024 18:12
-
-
Save LukeMathWalker/d98fa8d0fc5394b347adf734ef0e85ec to your computer and use it in GitHub Desktop.
Revisions
-
LukeMathWalker revised this gist
Feb 6, 2021 . 1 changed file with 27 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,34 @@ image: "rust:latest" default: before_script: - rustc --version - cargo --version stages: - test test-code: stage: test script: - cargo test - cargo install cargo-tarpaulin - cargo tarpaulin --ignore-tests lint-code: stage: test script: - rustup component add clippy - cargo clippy -- -D warnings format-code: stage: test script: - rustup component add rustfmt - cargo fmt -- --check audit-code: stage: test script: - cargo install cargo-audit - cargo audit -
LukeMathWalker created this gist
Jun 7, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ image: rust test: script: - rustc --version - cargo --version - cargo test - rustup component add rustfmt - cargo fmt -- --check - rustup component add clippy - cargo clippy -- -D warnings - cargo install cargo-audit - cargo audit