From d16ceb3a35b7b6a93fa6bfeddab01230919b4f61 Mon Sep 17 00:00:00 2001 From: Yoav Lavi Date: Sun, 16 Jul 2023 18:46:01 +0300 Subject: [PATCH] fixes --- .github/workflows/clippy.yml | 3 +-- .github/workflows/coverage.yml | 6 ++++++ .github/workflows/miri.yml | 5 +++++ .github/workflows/rust.yml | 5 +++++ 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 7403be01..a2fd0575 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -7,9 +7,8 @@ jobs: - uses: actions/checkout@v1 - uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: stable components: clippy - override: true - uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ec17c612..680904c9 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -12,6 +12,12 @@ jobs: - name: checkout repository uses: actions/checkout@v2 + - name: Install latest stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + components: rustfmt, clippy + - name: generate code coverage run: | cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out Xml --exclude xtask diff --git a/.github/workflows/miri.yml b/.github/workflows/miri.yml index 2fcf4235..241da760 100644 --- a/.github/workflows/miri.yml +++ b/.github/workflows/miri.yml @@ -6,6 +6,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Install latest stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + components: rustfmt, clippy - name: install miri run: | rustup toolchain install nightly --component miri diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index dd9566b9..d15528f0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,6 +15,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Install latest stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + components: rustfmt, clippy - name: build run: cargo build --verbose - name: run tests