Skip to content

Commit 803622a

Browse files
committed
fix ubuntu version to 20.04
1 parent 8002690 commit 803622a

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [pull_request]
55
jobs:
66
lint:
77
name: Lint check
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-20.04
99
steps:
1010
- uses: actions/checkout@v1
1111
- uses: actions/setup-python@v1
@@ -19,24 +19,22 @@ jobs:
1919

2020
format:
2121
name: Formatting check
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-20.04
2323

2424
steps:
2525
- uses: actions/checkout@v1
2626
- uses: actions/setup-python@v1
2727
with:
2828
python-version: '3.8'
2929
architecture: 'x64'
30-
- name: get ubuntu version
31-
run: lsb_release -a
3230
- name: Install Format tools
3331
run: pip install --upgrade pip setuptools; pip install -r requirements.txt; sudo apt-get install -y clang-format-6.0
3432
- name: Format Check
3533
run: ./scripts/format_check.sh
3634

3735
wheel-build:
3836
name: Wheel test
39-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-20.04
4038

4139
steps:
4240
- uses: actions/checkout@v1
@@ -55,7 +53,7 @@ jobs:
5553

5654
bazel-tests:
5755
name: Library tests
58-
runs-on: ubuntu-latest
56+
runs-on: ubuntu-20.04
5957
needs: [lint, format]
6058

6159
steps:
@@ -73,7 +71,7 @@ jobs:
7371

7472
leak-tests:
7573
name: Memory Leak tests
76-
runs-on: ubuntu-latest
74+
runs-on: ubuntu-20.04
7775
needs: [lint, format]
7876

7977
steps:
@@ -91,7 +89,7 @@ jobs:
9189

9290
tutorials-test:
9391
name: Tutorial tests
94-
runs-on: ubuntu-latest
92+
runs-on: ubuntu-20.04
9593
needs: [lint, format, wheel-build]
9694

9795
steps:

.github/workflows/cirq_compatibility.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
consistency:
1010
name: Nightly Compatibility
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-20.04
1212
steps:
1313
- uses: actions/checkout@v1
1414
- uses: actions/setup-python@v1

0 commit comments

Comments
 (0)