Skip to content

Commit db2ea65

Browse files
Merge pull request #99 from esp-rs/feature/change-ubuntu
Update ubuntu version used in CI
2 parents 167421c + 2848244 commit db2ea65

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/audit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
jobs:
2020
audit:
2121
name: Security audit
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-20.04
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@v3

.github/workflows/cd.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
job:
1818
- os: macos-latest
1919
target: x86_64-apple-darwin
20-
- os: ubuntu-latest
20+
- os: ubuntu-20.04
2121
target: x86_64-unknown-linux-gnu
2222
- os: windows-latest
2323
target: x86_64-pc-windows-msvc
2424
binary-postfix: ".exe"
25-
- os: ubuntu-latest
25+
- os: ubuntu-20.04
2626
target: aarch64-unknown-linux-gnu
2727
cross: true
2828
- os: macos-latest
@@ -69,7 +69,7 @@ jobs:
6969

7070
# publish-cratesio:
7171
# name: Publishing to Crates.io
72-
# runs-on: ubuntu-latest
72+
# runs-on: ubuntu-20.04
7373
# steps:
7474
# - name: Checkout repository
7575
# uses: actions/checkout@v3

.github/workflows/ci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
job:
2727
- os: macos-latest
2828
os-name: macos
29-
- os: ubuntu-latest
29+
- os: ubuntu-20.04
3030
os-name: linux
3131
- os: windows-latest
3232
os-name: windows
@@ -46,7 +46,7 @@ jobs:
4646
args: --dry-run
4747
steps:
4848
- name: Install dependencies
49-
if: ${{ matrix.job.os == 'ubuntu-latest' }}
49+
if: ${{ matrix.job.os == 'ubuntu-20.04' }}
5050
run: |
5151
sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list
5252
sudo apt-get update

0 commit comments

Comments
 (0)