From c97351467b927a9c727bc3be952fd177f9649db6 Mon Sep 17 00:00:00 2001 From: Nikita Zaporozhets Date: Wed, 24 Jan 2024 15:26:20 +0300 Subject: [PATCH] test image Signed-off-by: Nikita Zaporozhets --- .github/workflows/coverage.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 6ae56c9e..1ace8185 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -13,8 +13,10 @@ env: RUSTFLAGS: "-Cinstrument-coverage" jobs: - build: + consistency: runs-on: ubuntu-latest + container: + image: sora2/substrate:env steps: - name: Checkout code @@ -29,21 +31,21 @@ jobs: target key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - - name: Setup Rust - uses: ATiltedTree/setup-rust@v1.0.5 - with: - rust-version: nightly-2024-01-15 + # - name: Setup Rust + # uses: ATiltedTree/setup-rust@v1.0.5 + # with: + # rust-version: nightly-2024-01-15 - - name: Install llvm tools - run: rustup component add llvm-tools-preview + # - name: Install llvm tools + # run: rustup component add llvm-tools-preview - - name: Install grcov - run: cargo install grcov + # - name: Install grcov + # run: cargo install grcov - - name: Install packages - run: | - apt-get update - protobuf-compiler + # - name: Install packages + # run: | + # apt-get update + # protobuf-compiler - name: Build and test run: cargo test -r