Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

update CI workflow to use --locked flag for cargo build #40

update CI workflow to use --locked flag for cargo build

update CI workflow to use --locked flag for cargo build #40

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build core
run: cargo build --verbose --locked
working-directory: core
- name: Build for hf-tokenizers
run: cargo build --verbose --locked
working-directory: hf_tokenizers