@@ -14,22 +14,23 @@ jobs:
1414
1515 steps :
1616 - name : Checkout code
17- uses : actions/checkout@v4
17+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
1818
1919 - name : Set up Python
20- uses : actions/setup-python@v5
21- with :
22- python-version : " 3.11"
20+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2321
2422 - name : Install Poetry
25- uses : snok/install-poetry@v1
23+ uses : snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1
2624 with :
2725 version : latest
2826 virtualenvs-create : false
2927 installer-parallel : true
3028
29+ - name : Add Poetry to PATH
30+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
31+
3132 - name : Load cached Poetry dependencies
32- uses : actions/cache@v4
33+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
3334 id : cache
3435 with :
3536 path : ~/.cache/pypoetry
@@ -60,22 +61,23 @@ jobs:
6061
6162 steps :
6263 - name : Checkout code
63- uses : actions/checkout@v4
64+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
6465
6566 - name : Set up Python
66- uses : actions/setup-python@v5
67- with :
68- python-version : " 3.11"
67+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
6968
7069 - name : Install Poetry
71- uses : snok/install-poetry@v1
70+ uses : snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1
7271 with :
7372 version : latest
7473 virtualenvs-create : false
7574 installer-parallel : true
7675
76+ - name : Add Poetry to PATH
77+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
78+
7779 - name : Load cached Poetry dependencies
78- uses : actions/cache@v4
80+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
7981 with :
8082 path : ~/.cache/pypoetry
8183 key : ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
@@ -106,23 +108,26 @@ jobs:
106108
107109 steps :
108110 - name : Checkout code
109- uses : actions/checkout@v4
111+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
110112
111113 - name : Set up Python ${{ matrix.python-version }}
112- uses : actions/setup-python@v5
114+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
113115 with :
114116 python-version : ${{ matrix.python-version }}
115117 cache : " poetry"
116118
117119 - name : Install Poetry
118- uses : snok/install-poetry@v1
120+ uses : snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1
119121 with :
120122 version : latest
121123 virtualenvs-create : false
122124 installer-parallel : true
123125
126+ - name : Add Poetry to PATH
127+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
128+
124129 - name : Load cached Poetry dependencies
125- uses : actions/cache@v4
130+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
126131 id : cache
127132 with :
128133 path : ~/.cache/pypoetry
@@ -145,7 +150,7 @@ jobs:
145150
146151 - name : Upload coverage to Codecov
147152 if : matrix.python-version == '3.11'
148- uses : codecov/codecov-action@v4
153+ uses : codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
149154 with :
150155 files : ./coverage.xml
151156 flags : unittests
@@ -154,7 +159,7 @@ jobs:
154159
155160 - name : Upload coverage reports
156161 if : matrix.python-version == '3.11'
157- uses : actions/upload-artifact@v4
162+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
158163 with :
159164 name : coverage-report-${{ matrix.python-version }}
160165 path : htmlcov/
@@ -167,22 +172,23 @@ jobs:
167172
168173 steps :
169174 - name : Checkout code
170- uses : actions/checkout@v4
175+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
171176
172177 - name : Set up Python
173- uses : actions/setup-python@v5
174- with :
175- python-version : " 3.11"
178+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
176179
177180 - name : Install Poetry
178- uses : snok/install-poetry@v1
181+ uses : snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1
179182 with :
180183 version : latest
181184 virtualenvs-create : false
182185 installer-parallel : true
183186
187+ - name : Add Poetry to PATH
188+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
189+
184190 - name : Load cached Poetry dependencies
185- uses : actions/cache@v4
191+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
186192 with :
187193 path : ~/.cache/pypoetry
188194 key : ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
0 commit comments