From 66fb0152ef5ef4d4a94b41a0f60dff0cc729669b Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Mon, 7 Feb 2022 10:31:29 +0800 Subject: [PATCH] Optimize GitHub actions --- .github/workflows/rust.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 52fd3f82cf..fbeeb88e9e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -126,7 +126,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - runtime: [async-std, actix, tokio] + runtime: [async-std] tls: [native-tls, rustls] steps: - uses: actions/checkout@v2 @@ -165,7 +165,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - runtime: [async-std, actix, tokio] + runtime: [actix] tls: [native-tls, rustls] steps: - uses: actions/checkout@v2 @@ -204,7 +204,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - runtime: [async-std, actix, tokio] + runtime: [tokio] tls: [native-tls, rustls] steps: - uses: actions/checkout@v2 @@ -256,11 +256,11 @@ jobs: args: > --manifest-path sea-orm-rocket/Cargo.toml - # - uses: actions-rs/cargo@v1 - # with: - # command: test - # args: > - # --manifest-path sea-orm-cli/Cargo.toml + - uses: actions-rs/cargo@v1 + with: + command: test + args: > + --manifest-path sea-orm-cli/Cargo.toml cli: name: CLI @@ -356,7 +356,7 @@ jobs: strategy: fail-fast: false matrix: - runtime: [async-std, actix, tokio] + runtime: [async-std] tls: [native-tls, rustls] steps: - uses: actions/checkout@v2 @@ -400,7 +400,7 @@ jobs: fail-fast: false matrix: version: [8.0, 5.7] - runtime: [async-std, actix, tokio] + runtime: [actix] tls: [native-tls] services: mysql: @@ -461,7 +461,7 @@ jobs: fail-fast: false matrix: version: [10.6, 10.5, 10.4] - runtime: [async-std, actix, tokio] + runtime: [actix] tls: [native-tls] services: mysql: