diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e59ad50..fef9d76 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -19,12 +19,21 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + + - name: Install stable Rust toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: rustfmt, clippy, llvm-tools + - name: Generate test lcov coverage into coverage/ dir run: | mkdir -p coverage - /opt/cargo/bin/cargo llvm-cov --all --locked --lcov --output-path coverage/coverage.lcov + cargo llvm-cov --all --locked --lcov --output-path coverage/coverage.lcov # this uses the result of the previous run to generate a text summary - /opt/cargo/bin/cargo llvm-cov --no-run --locked + cargo llvm-cov --no-run --locked - name: Upload reports to codecov.io uses: codecov/codecov-action@v1 with: diff --git a/.github/workflows/docker_test.yml b/.github/workflows/docker_test.yml index 6153105..268a782 100644 --- a/.github/workflows/docker_test.yml +++ b/.github/workflows/docker_test.yml @@ -21,7 +21,14 @@ jobs: rustup toolchain install stable --component rustfmt,clippy rustup default stable - - name: Cargo Make CI - run: | - export PATH="${HOME}/.cargo/bin:${PATH}" - cargo make ci + - name: Install cargo-make + uses: actions-rs/cargo@v1 + with: + command: install + args: --debug cargo-make + + - name: Install deps + uses: actions-rs/cargo@v1 + with: + command: make + args: ci diff --git a/.github/workflows/linux_test.yml b/.github/workflows/linux_test.yml index f8cbca2..3c2ed94 100644 --- a/.github/workflows/linux_test.yml +++ b/.github/workflows/linux_test.yml @@ -8,7 +8,7 @@ jobs: test: strategy: matrix: - os: ["ubuntu-18.04", "ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04"] + os: ["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04"] runs-on: "${{ matrix.os }}" steps: - name: Checkout sources