From f9ccf62301e4a60c3963637d7a04dce4813854ad Mon Sep 17 00:00:00 2001 From: Morgan Funtowicz Date: Tue, 26 Nov 2019 11:20:12 +0100 Subject: [PATCH] Try updating to official rust Github Action to avoid missing rust components. --- .github/workflows/rust.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8a4fe101..cd64ea58 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -4,7 +4,6 @@ on: [push] jobs: build: - runs-on: ${{ matrix.os }} strategy: matrix: @@ -12,7 +11,20 @@ jobs: steps: - uses: actions/checkout@v1 + - name: Install Rust Stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Build - run: cargo build --verbose --manifest-path ./tokenizers/Cargo.toml - - name: Run tests - run: cargo test --verbose --manifest-path ./tokenizers/Cargo.toml + uses: actions-rs/cargo@v1 + with: + command: build + args: --verbose --manifest-path ./tokenizers/Cargo.toml + + - name: Run Tests + uses: actions-rs/cargo@v1 + with: + command: test + args: --verbose --manifest-path ./tokenizers/Cargo.toml