From 4fba1f838fcd0ac156f32f9a56d28414d78748be Mon Sep 17 00:00:00 2001 From: lklimek <842586+lklimek@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:19:24 +0100 Subject: [PATCH] ci: test on stable rust, not nightly (#115) * ci: test on stable rust, not nightly * chore: remove some TODOs --- .github/workflows/github-pages.yml | 5 +---- .github/workflows/test.yml | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index e3ad682..6c25adb 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -5,7 +5,7 @@ on: push: branches: - master - - "build/docs-website" # TODO remove after it's merged + jobs: cleanup-runs: runs-on: ubuntu-latest @@ -16,9 +16,6 @@ jobs: if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'" gh-pages: - # environment: - # name: github-pages - # url: ${{ steps.deployment.outputs.page_url }} permissions: contents: read pages: write diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ecec2f6..054e3c2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,12 +31,12 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/deps with: - toolchain: nightly + toolchain: stable - name: Test tenderdash-proto shell: bash timeout-minutes: 6 - run: cargo test --all-features -p tenderdash-proto -- -Zunstable-options --ensure-time + run: cargo test --all-features -p tenderdash-proto - name: Test tenderdash-abci shell: bash @@ -45,7 +45,7 @@ jobs: env: RUSTFLAGS: "-Cinstrument-coverage" LLVM_PROFILE_FILE: "%p-%m.profraw" - run: cargo test --all-features -p tenderdash-abci -- -Zunstable-options --ensure-time + run: cargo test --all-features -p tenderdash-abci - name: Emit docker logs on error if: failure()