Commit fdc88e2 1 parent c01f4f6 commit fdc88e2 Copy full SHA for fdc88e2
File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- name : Unit Tests
1
+ name : unit tests
2
2
3
3
on :
4
4
push :
5
5
branches : [ "**" ]
6
6
pull_request :
7
7
branches : [ "**" ]
8
8
9
+ permissions : read-all
10
+
9
11
jobs :
10
12
build :
11
13
@@ -40,10 +42,10 @@ jobs:
40
42
python-version : " 3.7"
41
43
42
44
steps :
43
- - uses : actions/checkout@v3
45
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
44
46
45
47
- name : Set up Python ${{ matrix.python-version }}
46
- uses : actions/setup-python@v3
48
+ uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
47
49
with :
48
50
python-version : ${{ matrix.python-version }}
49
51
56
58
python -m pip install pytest
57
59
58
60
- name : Cache data
59
- uses : actions/cache@v3
61
+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
60
62
with :
61
63
path : ${{ env.HANLP_HOME }}
62
64
key : hanlp-data
72
74
runs-on : ubuntu-latest
73
75
74
76
steps :
75
- - uses : actions/checkout@v3
77
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
76
78
- name : Install dependencies
77
79
run : |
78
80
python -m pip install setuptools wheel twine
You can’t perform that action at this time.
0 commit comments