repository template for Rust projects

ci: simplify test CI workflow

Changed files
+4 -14
.tangled
workflows
+4 -14
.tangled/workflows/test.yml
··· 7 7 dependencies: 8 8 nixpkgs: 9 9 - cargo 10 - - cargo-llvm-cov 11 10 - rustup 12 11 13 12 steps: 14 - # `--doctests` flag for `cargo llvm-cov` requires nightly channel 15 - # see: https://github.com/taiki-e/cargo-llvm-cov/issues/2 16 13 - name: Setup Rust 17 14 command: | 18 15 rustup set profile minimal 19 - rustup toolchain install nightly 20 - rustup override set nightly 21 - rustup component add llvm-tools-preview 16 + rustup toolchain install stable 17 + rustup override set stable 22 18 - name: Print environment info 23 19 command: | 24 20 rustc --version --verbose 25 21 cargo --version 26 22 rustup --version 27 - - name: Generate code coverage 28 - command: | 29 - cargo llvm-cov \ 30 - --all-features \ 31 - --workspace \ 32 - --lcov \ 33 - --output-path lcov.info \ 34 - --doctests \ 23 + - name: Run tests 24 + command: cargo test