Skip to content

Commit dd069bf

Browse files
committed
Use ubuntu-20.04 instead of ubuntu-latest
1 parent 0dfeff0 commit dd069bf

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
override: true
3434
- uses: Swatinem/rust-cache@v1
3535
- name: Build dependencies for other ubuntu targets
36-
if: inputs.runs_on == 'ubuntu-latest'
36+
if: inputs.runs_on == 'ubuntu-20.04'
3737
run: |
3838
sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list
3939
sudo apt-get update

.github/workflows/raspberry_package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616

1717
jobs:
1818
publish-release:
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-20.04
2020
strategy:
2121
fail-fast: false
2222
matrix:

.github/workflows/raspberry_rust.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
jobs:
1414
rust-ci:
1515
name: "Rust CI: ${{ matrix.job.name }} - ${{ matrix.board.target }}"
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-20.04
1717
strategy:
1818
fail-fast: false
1919
matrix:

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
x86_64-unknown-linux-gnu:
2323
uses: ./.github/workflows/package.yml
2424
with:
25-
runs_on: ubuntu-latest
25+
runs_on: ubuntu-20.04
2626
target: x86_64-unknown-linux-gnu
2727

2828
x86_64-unknown-linux-musl:
2929
uses: ./.github/workflows/package.yml
3030
with:
31-
runs_on: ubuntu-latest
31+
runs_on: ubuntu-20.04
3232
target: x86_64-unknown-linux-musl
3333

3434
# macOS

.github/workflows/rust.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
jobs:
1414
check:
1515
name: Check
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-20.04
1717
steps:
1818
- name: Change apt mirror and install dependencies
1919
run: |
@@ -33,7 +33,7 @@ jobs:
3333

3434
check-lib:
3535
name: Check (lib)
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-20.04
3737
steps:
3838
- name: Change apt mirror and install dependencies
3939
run: |
@@ -54,7 +54,7 @@ jobs:
5454

5555
msrv:
5656
name: Check MSRV
57-
runs-on: ubuntu-latest
57+
runs-on: ubuntu-20.04
5858
steps:
5959
- name: Change apt mirror and install dependencies
6060
run: |
@@ -74,7 +74,7 @@ jobs:
7474

7575
test-lib:
7676
name: Unit Test
77-
runs-on: ubuntu-latest
77+
runs-on: ubuntu-20.04
7878
steps:
7979
- name: Change apt mirror and install dependencies
8080
run: |
@@ -95,7 +95,7 @@ jobs:
9595

9696
fmt:
9797
name: Rustfmt
98-
runs-on: ubuntu-latest
98+
runs-on: ubuntu-20.04
9999
steps:
100100
- uses: actions/checkout@v2
101101
- uses: actions-rs/toolchain@v1
@@ -112,7 +112,7 @@ jobs:
112112

113113
clippy:
114114
name: Clippy
115-
runs-on: ubuntu-latest
115+
runs-on: ubuntu-20.04
116116
steps:
117117
- name: Change apt mirror and install dependencies
118118
run: |

0 commit comments

Comments
 (0)