From 3a06484f9aedd69ae8f8bc71c9d0153185a7a0de Mon Sep 17 00:00:00 2001 From: Philip Linden Date: Sun, 10 Dec 2023 02:30:47 -0500 Subject: [PATCH] build rust workflow --- .github/workflows/build-docs-deploy.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docs-deploy.yaml b/.github/workflows/build-docs-deploy.yaml index 2954aeb..2a6210e 100644 --- a/.github/workflows/build-docs-deploy.yaml +++ b/.github/workflows/build-docs-deploy.yaml @@ -9,7 +9,23 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: {} + jobs: + build-rust: + runs-on: ubuntu-latest + steps: + - name: clippy + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + components: rustfmt, clippy + - name: Release build + uses: actions-rs/cargo@v1 + with: + command: build + args: --release --all-features + build-python: runs-on: ubuntu-latest steps: @@ -23,7 +39,9 @@ jobs: - run: poetry build docs: - needs: build-python + needs: + - build-python + - build-rust runs-on: ubuntu-latest steps: - name: checkout