Skip to content

Commit 31fe543

Browse files
committed
Update cache policy.
1 parent bc8622c commit 31fe543

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/bnf-jest.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
with:
2828
node-version: ${{ matrix.node-version }}
2929
cache: 'npm'
30-
cache-dependency-path: bnf/package-lock.json
3130

3231
- name: dependencies
3332
working-directory: bnf
@@ -61,7 +60,6 @@ jobs:
6160
with:
6261
node-version: ${{ env.NODE_LATEST_VERSION }}
6362
cache: 'npm'
64-
cache-dependency-path: bnf/package-lock.json
6563

6664
- name: version
6765
working-directory: bnf

.github/workflows/bnf-pytest.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,19 @@ jobs:
5050

5151
- uses: StoneMoe/setup-antlr4@v4
5252

53-
- uses: actions/setup-python@v6
53+
- uses: astral-sh/setup-uv@v7
5454
with:
55-
python-version: ${{ env.PYTHON_LATEST_VERSION }}
55+
python-version: ${{ matrix.python-version }}
56+
enable-cache: true
5657

5758
- name: build
5859
working-directory: bnf
59-
run: |
60-
pip install build
61-
python -m build
60+
run: uv build
6261

6362
- uses: actions/upload-artifact@v5
6463
with:
6564
name: dist
66-
path: bnf/dist/*
65+
path: bnf/dist/*.whl
6766

6867
upload:
6968
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)