diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 3a900a7a..0b15d245 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -16,7 +16,6 @@ jobs: matrix: rust: - stable - - beta - nightly steps: @@ -59,6 +58,12 @@ jobs: chmod +x /usr/local/bin/flatc rm -rf Linux.flatc.binary.g++-13.zip + - name: toolchain + uses: dtolnay/rust-toolchain@stable + with: + toolchain: ${{ matrix.rust }} + # components: rustfmt, clippy + - name: checkout uses: actions/checkout@v2 @@ -67,14 +72,9 @@ jobs: run: | make e2e-server > /dev/null & make probe-e2e - env: - PORT: 9000 - name: e2e test - uses: actions-rs/cargo@v1 - with: - command: test - args: -p e2e_test --lib + run: cargo test -p e2e_test --lib - name: cache cargo uses: actions/cache@v3 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 00eb6f8b..7f86763d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,7 +16,6 @@ jobs: matrix: rust: - stable - - beta - nightly steps: @@ -59,25 +58,19 @@ jobs: chmod +x /usr/local/bin/flatc rm -rf Linux.flatc.binary.g++-13.zip + - name: toolchain + uses: dtolnay/rust-toolchain@stable + with: + toolchain: ${{ matrix.rust }} + # components: rustfmt, clippy + - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: ${{ matrix.rust }} - override: true - components: rustfmt, clippy - - name: cargo build - uses: actions-rs/cargo@v1 - with: - command: build + run: cargo build - name: cargo test - uses: actions-rs/cargo@v1 - with: - command: test - args: --all --exclude e2e_test + run: cargo test --all --exclude e2e_test - name: cache cargo uses: actions/cache@v3