[ci] fix workflow (#9738)

This commit is contained in:
Yaowei Zheng
2026-01-09 14:48:16 +08:00
committed by hiyouga
parent 5cccaeec82
commit 766d5ae6ad
3 changed files with 4 additions and 24 deletions

View File

@@ -54,6 +54,7 @@ jobs:
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
OS_NAME: ${{ matrix.os }}
UV_NO_SYNC: 1
steps:
- name: Checkout
@@ -88,25 +89,18 @@ jobs:
- name: Check quality
run: |
make style && make quality
env:
UV_NO_SYNC: 1
- name: Check license
run: |
make license
env:
UV_NO_SYNC: 1
- name: Check build
run: |
make build
env:
UV_NO_SYNC: 1
- name: Test with pytest
run: |
make test
env:
UV_NO_SYNC: 1
HF_HOME: ${{ runner.temp }}/huggingface
HF_HUB_OFFLINE: "${{ steps.hf-hub-cache.outputs.cache-hit == 'true' && '1' || '0' }}"