Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Shr1ftyy authored Aug 10, 2023
1 parent ee2b879 commit 7057c02
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,24 @@ env:
jobs:
format:
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/matching-engine
steps:
- uses: actions/checkout@v3
# this is temporary, will fix later
working-directory: apps/matching-engine
- uses: dtolnay/rust-toolchain@stable
working-directory: apps/matching-engine
- uses: mbrobbel/rustfmt-check@master
working-directory: apps/matching-engine
with:
token: ${{ secrets.GITHUB_TOKEN }}
build:

runs-on: ubuntu-latest

defaults:
run:
working-directory: apps/matching-engine
steps:
- uses: actions/checkout@v3
- name: Build
working-directory: apps/matching-engine
run: cargo build --verbose
- name: Run tests
working-directory: apps/matching-engine
run: cargo test --verbose

0 comments on commit 7057c02

Please sign in to comment.