diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be907fe..bbebdf0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,6 @@ name: CI on: [push, pull_request] jobs: - lint: name: Lint runs-on: ubuntu-latest @@ -15,6 +14,7 @@ jobs: toolchain: nightly override: true components: clippy, rustfmt + - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: command: fmt @@ -23,7 +23,6 @@ jobs: with: command: clippy args: --no-deps -- -D warnings - test: name: Test runs-on: ubuntu-latest @@ -35,7 +34,29 @@ jobs: toolchain: nightly override: true components: rustfmt + - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: command: test +# code-coverage: +# name: Code coverage +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v2 +# # the action needs a nightly toolchain with llvm-tools +# - uses: actions-rs/toolchain@v1 +# with: +# profile: minimal +# toolchain: nightly +# components: llvm-tools-preview, rustfmt +# +# # runs cargo with defaults flags, using the default `lcov` output +# - uses: Swatinem/fucov@v1 +# +# - uses: Swatinem/rust-cache@v1 +# +# # afterwards, upload the report to codecov +# - uses: codecov/codecov-action@v1 +# with: +# directory: coverage diff --git a/convert/Cargo.toml b/convert/Cargo.toml index 1c46bf0..c68127e 100644 --- a/convert/Cargo.toml +++ b/convert/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "convert" -version = "0.1.0" +version = "1.0.0" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html