|
43 | 43 | tox_docs: |
44 | 44 | if: ${{ needs.check_workflow.outputs.result == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(toJson(github.event.commits), '[run python]') == true }} |
45 | 45 | needs: check_workflow |
46 | | - runs-on: ubuntu-latest |
| 46 | + runs-on: ubuntu-20.04 |
47 | 47 | steps: |
48 | 48 | - name: Checkout source tree |
49 | 49 | uses: actions/checkout@v3 |
|
63 | 63 | tox_mypy: |
64 | 64 | if: ${{ needs.check_workflow.outputs.result == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(toJson(github.event.commits), '[run python]') == true }} |
65 | 65 | needs: check_workflow |
66 | | - runs-on: ubuntu-latest |
| 66 | + runs-on: ubuntu-20.04 |
67 | 67 | steps: |
68 | 68 | - name: Checkout source tree |
69 | 69 | uses: actions/checkout@v3 |
|
98 | 98 | key: ${{ runner.os }}-bazel-python-unit-tests-${{ hashFiles('**/BUILD.bazel') }} |
99 | 99 | restore-keys: | |
100 | 100 | ${{ runner.os }}-bazel-python-unit-tests- |
101 | | - - name: Set up Python 3.7 |
102 | | - uses: actions/setup-python@v4 |
103 | | - with: |
104 | | - python-version: 3.7.10 |
105 | 101 | - name: Setup Java |
106 | 102 | uses: actions/setup-java@v3 |
107 | 103 | with: |
@@ -131,10 +127,6 @@ jobs: |
131 | 127 | ${{ runner.os }}-bazel-python-unit-tests- |
132 | 128 | - name: Setup Fluxbox |
133 | 129 | run: sudo apt-get -y install fluxbox |
134 | | - - name: Set up Python 3.7 |
135 | | - uses: actions/setup-python@v4 |
136 | | - with: |
137 | | - python-version: 3.7.10 |
138 | 130 | - name: Setup Chrome |
139 | 131 | uses: browser-actions/setup-chrome@latest |
140 | 132 | - name: Start XVFB |
@@ -168,10 +160,6 @@ jobs: |
168 | 160 | ${{ runner.os }}-bazel-python-unit-tests- |
169 | 161 | - name: Setup Fluxbox |
170 | 162 | run: sudo apt-get -y install fluxbox |
171 | | - - name: Set up Python 3.7 |
172 | | - uses: actions/setup-python@v4 |
173 | | - with: |
174 | | - python-version: 3.7.10 |
175 | 163 | - name: Setup Java |
176 | 164 | uses: actions/setup-java@v3 |
177 | 165 | with: |
@@ -212,10 +200,6 @@ jobs: |
212 | 200 | ${{ runner.os }}-bazel-python-unit-tests- |
213 | 201 | - name: Setup Fluxbox |
214 | 202 | run: sudo apt-get -y install fluxbox |
215 | | - - name: Set up Python 3.7 |
216 | | - uses: actions/setup-python@v4 |
217 | | - with: |
218 | | - python-version: 3.7.10 |
219 | 203 | - name: Setup Java |
220 | 204 | uses: actions/setup-java@v3 |
221 | 205 | with: |
|
0 commit comments