From abece8ba9ea2d9e3d8b1f65ce91d1f457b16b5d9 Mon Sep 17 00:00:00 2001 From: Syeam Bin Abdullah <49330057+Shr1ftyy@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:28:03 +0930 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a3e9d13..94b60d1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,19 +10,25 @@ env: CARGO_TERM_COLOR: always jobs: - format: +# format: +# runs-on: ubuntu-latest +# defaults: +# run: +# working-directory: apps/matching-engine +# steps: +# - uses: actions/checkout@v3 +# - uses: dtolnay/rust-toolchain@stable +# - uses: mbrobbel/rustfmt-check@master +# with: +# token: ${{ secrets.GITHUB_TOKEN }} + docker: runs-on: ubuntu-latest - defaults: - run: - working-directory: apps/matching-engine steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - - uses: mbrobbel/rustfmt-check@master - with: - token: ${{ secrets.GITHUB_TOKEN }} + - uses: KengoTODA/actions-setup-docker-compose@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + build: - runs-on: ubuntu-latest defaults: run: