mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +00:00
Try updating to official rust Github Action to avoid missing rust components.
This commit is contained in:
committed by
MOI Anthony
parent
78e7591780
commit
f9ccf62301
20
.github/workflows/rust.yml
vendored
20
.github/workflows/rust.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user