From a0d7d8beae1b1b66dfa252cbda5d47efcdce917d Mon Sep 17 00:00:00 2001 From: Jack Cherng Date: Wed, 21 Feb 2024 00:27:37 +0800 Subject: [PATCH] chore: simplify CI yaml Signed-off-by: Jack Cherng --- .github/workflows/docs.yml | 6 ++---- .github/workflows/python.yml | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 68a4decb..9ed2c41a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,8 +19,7 @@ jobs: - run: | cd docs/ uv v && . .venv/bin/activate - uv pip install -r requirements.txt - make build + make install build job_deploy: # deploy only on the "stable" branch if: ${{ github.ref == 'refs/heads/stable' }} @@ -35,5 +34,4 @@ jobs: - run: | cd docs/ uv v && . .venv/bin/activate - uv pip install -r requirements.txt - make deploy + make install deploy diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 307acfe6..8872f729 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -48,5 +48,4 @@ jobs: - name: Do linting run: | uv v && . .venv/bin/activate - uv pip install -r requirements.txt - make ci-check + make install ci-check