Use ubuntu-18.04 container in rust tests

This commit is contained in:
curquiza
2022-12-19 10:46:29 +01:00
parent 867279f2a4
commit 913eff5b2f
3 changed files with 51 additions and 8 deletions

View File

@ -6,10 +6,20 @@ on:
jobs:
flaky:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
container:
image: ubuntu:18.04
steps:
- uses: actions/checkout@v3
- name: Install needed dependencies
run: |
apt-get update && apt-get install -y curl
apt-get install build-essential -y
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install cargo-flaky
run: cargo install cargo-flaky
- name: Run cargo flaky 100 times