Merge pull request #99 from esp-rs/feature/change-ubuntu

Update ubuntu version used in CI
This commit is contained in:
Sergio Gasquez Arcos 2022-12-23 16:34:45 +01:00 committed by GitHub
commit db2ea65077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ env:
jobs:
audit:
name: Security audit
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3

View File

@ -17,12 +17,12 @@ jobs:
job:
- os: macos-latest
target: x86_64-apple-darwin
- os: ubuntu-latest
- os: ubuntu-20.04
target: x86_64-unknown-linux-gnu
- os: windows-latest
target: x86_64-pc-windows-msvc
binary-postfix: ".exe"
- os: ubuntu-latest
- os: ubuntu-20.04
target: aarch64-unknown-linux-gnu
cross: true
- os: macos-latest
@ -69,7 +69,7 @@ jobs:
# publish-cratesio:
# name: Publishing to Crates.io
# runs-on: ubuntu-latest
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3

View File

@ -26,7 +26,7 @@ jobs:
job:
- os: macos-latest
os-name: macos
- os: ubuntu-latest
- os: ubuntu-20.04
os-name: linux
- os: windows-latest
os-name: windows
@ -46,7 +46,7 @@ jobs:
args: --dry-run
steps:
- name: Install dependencies
if: ${{ matrix.job.os == 'ubuntu-latest' }}
if: ${{ matrix.job.os == 'ubuntu-20.04' }}
run: |
sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list
sudo apt-get update