@@ -11,12 +11,12 @@ jobs:
11
11
test :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
15
15
16
- - name : Setup Python
17
- uses : actions/setup-python@v1
16
+ - name : Setup Python 3.7
17
+ uses : actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
18
18
with :
19
- python-version : 3.7
19
+ python-version : ' 3.7'
20
20
21
21
- name : Install dependencies
22
22
run : |
26
26
run : |
27
27
make install
28
28
29
+ # TODO: fix all pylint issues first
29
30
# - name: Pylint
30
31
# run: |
31
32
# make lint
@@ -40,11 +41,11 @@ jobs:
40
41
needs : test
41
42
runs-on : ubuntu-latest
42
43
steps :
43
- - uses : actions/checkout@master
44
+ - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
44
45
- name : Set up Python 3.7
45
- uses : actions/setup-python@v1
46
+ uses : actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
46
47
with :
47
- python-version : 3.7
48
+ python-version : ' 3.7'
48
49
49
50
- name : Install dependencies
50
51
run : |
@@ -59,20 +60,19 @@ jobs:
59
60
pip install setuptools wheel twine
60
61
python -m setup sdist bdist_wheel
61
62
- name : Publish package
62
- uses : pypa/gh-action-pypi-publish@master
63
+ uses : pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
63
64
with :
64
- user : __token__
65
65
password : ${{ secrets.PYPI_PASSWORD }}
66
66
67
67
update-brew :
68
68
needs : publish-package
69
69
runs-on : ubuntu-latest
70
70
steps :
71
- - uses : actions/checkout@master
71
+ - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
72
72
- name : Set up Python 3.7
73
- uses : actions/setup-python@v1
73
+ uses : actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
74
74
with :
75
- python-version : 3.7
75
+ python-version : ' 3.7'
76
76
- name : publish brew
77
77
run : |
78
78
sleep 5m
94
94
runs-on : ubuntu-latest
95
95
needs : update-brew
96
96
steps :
97
- - uses : actions/checkout@v2
97
+ - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
98
98
with :
99
99
ref : master
100
100
0 commit comments