From 516f2dea57428d6deacfd1eb79c6caa6d70e6332 Mon Sep 17 00:00:00 2001 From: Sunli Date: Sun, 6 Sep 2020 18:39:29 +0800 Subject: [PATCH] Update CI. --- .github/workflows/book.yml | 4 ---- .github/workflows/ci.yml | 2 +- .github/workflows/code-coverage.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 4976bdbf..970bcec1 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -12,10 +12,6 @@ jobs: name: Deploy book on gh-pages runs-on: ubuntu-latest steps: - - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.46 - override: true - name: Checkout uses: actions/checkout@v2 - name: Install mdBook diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ecf1ae0..ec864e22 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.46 + toolchain: 1.46.0 override: true - name: Check format run: cargo fmt --all -- --check diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 40e39310..e9d37cd1 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.46 + toolchain: 1.46.0 override: true - name: Install libsqlite3-dev run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0ea6426..30daf433 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: steps: - uses: actions-rs/toolchain@v1 with: - toolchain: 1.46 + toolchain: 1.46.0 override: true - name: Checkout uses: actions/checkout@v2