|
46 | 46 | uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 |
47 | 47 | with: |
48 | 48 | python-version: "3.13" |
| 49 | + cache: 'pip' |
| 50 | + cache-dependency-path: 'requirements.txt' |
49 | 51 | - name: Install dependencies |
50 | 52 | run: | |
51 | 53 | pip install -r requirements.txt |
|
74 | 76 | uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 |
75 | 77 | with: |
76 | 78 | python-version: "3.13" |
| 79 | + cache: 'pip' |
| 80 | + cache-dependency-path: 'requirements.txt' |
77 | 81 | - name: Install capa |
78 | 82 | run: | |
79 | 83 | pip install -r requirements.txt |
@@ -106,6 +110,8 @@ jobs: |
106 | 110 | uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 |
107 | 111 | with: |
108 | 112 | python-version: ${{ matrix.python-version }} |
| 113 | + cache: 'pip' |
| 114 | + cache-dependency-path: 'requirements.txt' |
109 | 115 | - name: Install pyyaml |
110 | 116 | if: matrix.os == 'ubuntu-22.04' |
111 | 117 | run: sudo apt-get install -y libyaml-dev |
@@ -147,6 +153,8 @@ jobs: |
147 | 153 | uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 |
148 | 154 | with: |
149 | 155 | python-version: ${{ matrix.python-version }} |
| 156 | + cache: 'pip' |
| 157 | + cache-dependency-path: 'requirements.txt' |
150 | 158 | - name: Install pyyaml |
151 | 159 | if: ${{ env.BN_SERIAL != 0 }} |
152 | 160 | run: sudo apt-get install -y libyaml-dev |
@@ -190,6 +198,8 @@ jobs: |
190 | 198 | uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 |
191 | 199 | with: |
192 | 200 | python-version: ${{ matrix.python-version }} |
| 201 | + cache: 'pip' |
| 202 | + cache-dependency-path: 'requirements.txt' |
193 | 203 | - name: Set up Java ${{ matrix.java-version }} |
194 | 204 | uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0 |
195 | 205 | with: |
@@ -240,6 +250,8 @@ jobs: |
240 | 250 | uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 |
241 | 251 | with: |
242 | 252 | python-version: ${{ matrix.python-version }} |
| 253 | + cache: 'pip' |
| 254 | + cache-dependency-path: 'requirements.txt' |
243 | 255 | - name: Setup uv |
244 | 256 | if: ${{ env.IDA_LICENSE_ID != 0 }} |
245 | 257 | uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0 |
|
0 commit comments