diff --git a/.github/workflows/cargo.yml b/.github/workflows/cargo.yml index 9f2a5d7..56e6625 100644 --- a/.github/workflows/cargo.yml +++ b/.github/workflows/cargo.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - run: rustup component add --toolchain ${{ matrix.toolchain }} rustfmt - - run: cargo fmt --all --check + - run: cd server && cargo fmt --all --check build: name: Cargo build @@ -38,4 +38,4 @@ jobs: - uses: actions/checkout@v4 - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - run: rustup target add --toolchain ${{ matrix.toolchain }} ${{ matrix.target }} - - run: cargo build --target ${{ matrix.target }} \ No newline at end of file + - run: cd server && cargo build --target ${{ matrix.target }} \ No newline at end of file