Skip to content

Commit e06076a

Browse files
authored
👷 CI: 删除 NoneFlow 中关于 pre-commit 的部分 (#3166)
1 parent 36d90c0 commit e06076a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/noneflow.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ jobs:
4949
with:
5050
token: ${{ steps.generate-token.outputs.token }}
5151

52-
- name: Cache pre-commit hooks
53-
uses: actions/cache@v4
54-
with:
55-
path: .cache/.pre-commit
56-
key: noneflow-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
57-
5852
- name: NoneFlow
5953
uses: docker://ghcr.io/nonebot/noneflow:latest
6054
with:
@@ -69,7 +63,3 @@ jobs:
6963
env:
7064
APP_ID: ${{ secrets.APP_ID }}
7165
PRIVATE_KEY: ${{ secrets.APP_KEY }}
72-
PRE_COMMIT_HOME: /github/workspace/.cache/.pre-commit
73-
74-
- name: Fix permission
75-
run: sudo chown -R $(whoami):$(id -ng) .cache/.pre-commit

0 commit comments

Comments
 (0)