diff --git a/.github/workflows/rust-cubestore-master.yml b/.github/workflows/rust-cubestore-master.yml index ce5c0bb9f513a..333bf6f0e0192 100644 --- a/.github/workflows/rust-cubestore-master.yml +++ b/.github/workflows/rust-cubestore-master.yml @@ -51,22 +51,15 @@ jobs: shared-key: cubestore key: ubuntu-22.04 - name: Run cargo fmt cubestore - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --manifest-path rust/cubestore/cubestore/Cargo.toml -- --check + run: | + cargo fmt --manifest-path rust/cubestore/cubestore/Cargo.toml -- --check - name: Run cargo fmt cubehll - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --manifest-path rust/cubestore/cubehll/Cargo.toml -- --check + run: | + cargo fmt --manifest-path rust/cubestore/cubehll/Cargo.toml -- --check - name: Run cargo build - uses: actions-rs/cargo@v1 - with: - command: build - args: --manifest-path rust/cubestore/Cargo.toml -j 4 + run: + cargo build --manifest-path rust/cubestore/Cargo.toml -j 4 - name: Run cargo test - uses: actions-rs/cargo@v1 env: CUBESTORE_AWS_ACCESS_KEY_ID: ${{ secrets.CUBESTORE_AWS_ACCESS_KEY_ID }} CUBESTORE_AWS_SECRET_ACCESS_KEY: ${{ secrets.CUBESTORE_AWS_SECRET_ACCESS_KEY }} @@ -74,9 +67,8 @@ jobs: TEST_KSQL_USER: ${{ secrets.TEST_KSQL_USER }} TEST_KSQL_PASS: ${{ secrets.TEST_KSQL_PASS }} TEST_KSQL_URL: ${{ secrets.TEST_KSQL_URL }} - with: - command: test - args: --manifest-path rust/cubestore/Cargo.toml -j 1 + run: | + cargo test --manifest-path rust/cubestore/Cargo.toml -j 1 cubestore-docker-image-dev: name: Release Cube Store :dev image diff --git a/.github/workflows/rust-cubestore.yml b/.github/workflows/rust-cubestore.yml index d21eeeb57bdce..5557355d8295b 100644 --- a/.github/workflows/rust-cubestore.yml +++ b/.github/workflows/rust-cubestore.yml @@ -57,25 +57,17 @@ jobs: shared-key: cubestore-testing key: ubuntu-22.04 - name: Run cargo fmt cubestore - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --manifest-path rust/cubestore/cubestore/Cargo.toml -- --check + run: | + cargo fmt --manifest-path rust/cubestore/cubestore/Cargo.toml -- --check - name: Run cargo fmt cubehll - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --manifest-path rust/cubestore/cubehll/Cargo.toml -- --check + run: | + cargo fmt --manifest-path rust/cubestore/cubehll/Cargo.toml -- --check - name: Run cargo build - uses: actions-rs/cargo@v1 - with: - command: build - args: --manifest-path rust/cubestore/Cargo.toml -j 4 + run: | + cargo build --manifest-path rust/cubestore/Cargo.toml -j 4 - name: Run cargo test - uses: actions-rs/cargo@v1 - with: - command: test - args: --manifest-path rust/cubestore/Cargo.toml -j 1 + run: | + cargo test --manifest-path rust/cubestore/Cargo.toml -j 1 docker-image-latest: name: Build only :latest image