diff --git a/.github/actions-rs/grcov.yml b/.github/actions-rs/grcov.yml deleted file mode 100644 index 7b5f273..0000000 --- a/.github/actions-rs/grcov.yml +++ /dev/null @@ -1,3 +0,0 @@ -ignore-not-existing: true -ignore: - - "../*" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a426e19..e4c5364 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,3 @@ -# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md - name: CI on: [push, pull_request] @@ -17,11 +15,9 @@ jobs: uses: actions/checkout@v1 - name: Install ${{ matrix.toolchain }} toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: ${{ matrix.toolchain }} - override: true + run: | + rustup update ${{ matrix.toolchain }} + rustup default ${{ matrix.toolchain }} - name: Run cargo check uses: actions-rs/cargo@v1 @@ -37,11 +33,9 @@ jobs: uses: actions/checkout@v1 - name: Install nightly toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: nightly - override: true + run: | + rustup update nightly + rustup default nightly - name: Install cargo no-std-check uses: actions-rs/cargo@v1 @@ -75,11 +69,9 @@ jobs: uses: actions/checkout@v1 - name: Install ${{ matrix.toolchain }} toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: ${{ matrix.toolchain }} - override: true + run: | + rustup update ${{ matrix.toolchain }} + rustup default ${{ matrix.toolchain }} - name: Run cargo test uses: actions-rs/cargo@v1 @@ -99,12 +91,10 @@ jobs: uses: actions/checkout@v1 - name: Install ${{ matrix.toolchain }} toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: ${{ matrix.toolchain }} - override: true - components: rustfmt, clippy + run: | + rustup update ${{ matrix.toolchain }} + rustup default ${{ matrix.toolchain }} + rustup component add rustfmt clippy - name: Run cargo fmt uses: actions-rs/cargo@v1 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml deleted file mode 100644 index 29995ad..0000000 --- a/.github/workflows/coverage.yml +++ /dev/null @@ -1,51 +0,0 @@ -# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md - -name: Coverage - -on: - push: - branches: - - master - -jobs: - grcov: - name: Coverage - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - - name: Install toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true - - - name: Execute tests - uses: actions-rs/cargo@v1 - with: - command: test - args: --all --all-features - env: - CARGO_INCREMENTAL: 0 - RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off" - - - name: Gather coverage data - id: coverage - uses: actions-rs/grcov@v0.1 - - - name: Coveralls upload - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - parallel: true - path-to-lcov: ${{ steps.coverage.outputs.report }} - - grcov_finalize: - runs-on: ubuntu-latest - needs: grcov - steps: - - name: Coveralls finalization - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - parallel-finished: true diff --git a/Cargo.toml b/Cargo.toml index cee32cf..850b989 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,9 +11,6 @@ categories = ["compression", "no-std"] license = "MIT" edition = "2021" -[badges] -coveralls = {repository = "sile/libflate"} - [dependencies] adler32 = { version = "1", default-features = false } crc32fast = { version = "1.1.1", default-features = false } diff --git a/README.md b/README.md index 61459db..3af5720 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ libflate [![libflate](https://img.shields.io/crates/v/libflate.svg)](https://crates.io/crates/libflate) [![Documentation](https://docs.rs/libflate/badge.svg)](https://docs.rs/libflate) [![Actions Status](https://github.com/sile/libflate/workflows/CI/badge.svg)](https://github.com/sile/libflate/actions) -[![Coverage Status](https://coveralls.io/repos/github/sile/libflate/badge.svg?branch=master)](https://coveralls.io/github/sile/libflate?branch=master) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) A Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP). diff --git a/libflate_lz77/Cargo.toml b/libflate_lz77/Cargo.toml index 5462cca..f01e054 100644 --- a/libflate_lz77/Cargo.toml +++ b/libflate_lz77/Cargo.toml @@ -11,9 +11,6 @@ keywords = ["lz77"] categories = ["compression"] license = "MIT" -[badges] -coveralls = {repository = "sile/libflate"} - [dependencies] rle-decode-fast = "1.0.0" core2 = { version = "0.4", default-features = false, features = ["alloc"] }