Skip to content

Commit cb36dc7

Browse files
committed
Add HF_TOKEN to .github/workflows/test.yaml
1 parent 71b1f17 commit cb36dc7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
push:
66
branches:
7-
- 'main'
7+
- "main"
88
pull_request:
99
paths:
1010
- ".github/workflows/build.yaml"
@@ -17,7 +17,7 @@ on:
1717
- "rust-toolchain.toml"
1818
- "Dockerfile"
1919
branches:
20-
- 'main'
20+
- "main"
2121

2222
jobs:
2323
tests:
@@ -38,6 +38,7 @@ jobs:
3838
env:
3939
SCCACHE_GHA_ENABLED: "true"
4040
RUSTC_WRAPPER: "sccache"
41+
HF_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}
4142
run: |
4243
sudo apt-get update && sudo apt-get install protobuf-compiler -y
4344
cargo test --profile=release-debug

0 commit comments

Comments
 (0)