Try updating to official rust Github Action to avoid missing rust components.

This commit is contained in:
Morgan Funtowicz
2019-11-26 11:20:12 +01:00
committed by MOI Anthony
parent 78e7591780
commit f9ccf62301

View File

@ -4,7 +4,6 @@ on: [push]
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
@ -12,7 +11,20 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build - name: Build
run: cargo build --verbose --manifest-path ./tokenizers/Cargo.toml uses: actions-rs/cargo@v1
- name: Run tests with:
run: cargo test --verbose --manifest-path ./tokenizers/Cargo.toml 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