Update CI.

This commit is contained in:
Sunli 2020-09-06 18:39:29 +08:00
parent 483ca6b7eb
commit 516f2dea57
4 changed files with 3 additions and 7 deletions

View File

@ -12,10 +12,6 @@ jobs:
name: Deploy book on gh-pages name: Deploy book on gh-pages
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.46
override: true
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install mdBook - name: Install mdBook

View File

@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: 1.46 toolchain: 1.46.0
override: true override: true
- name: Check format - name: Check format
run: cargo fmt --all -- --check run: cargo fmt --all -- --check

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: 1.46 toolchain: 1.46.0
override: true override: true
- name: Install libsqlite3-dev - name: Install libsqlite3-dev
run: | run: |

View File

@ -39,7 +39,7 @@ jobs:
steps: steps:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: 1.46 toolchain: 1.46.0
override: true override: true
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2