From 5c4826cbc6be577f5070c6bdf8e1e9ac09775a20 Mon Sep 17 00:00:00 2001 From: blam Date: Wed, 24 Apr 2024 15:15:14 +0200 Subject: [PATCH 1/2] chore: use setup-python action to upgrade pip Signed-off-by: blam --- .github/workflows/verify_microsite.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify_microsite.yml b/.github/workflows/verify_microsite.yml index 95bca2725d..408fb03b2e 100644 --- a/.github/workflows/verify_microsite.yml +++ b/.github/workflows/verify_microsite.yml @@ -34,6 +34,9 @@ jobs: uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: 18.x + - uses: actions/setup-python@v5 + with: + python-version: '3.9' # Skip caching of microsite dependencies, it keeps the global cache size # smaller, which make Windows builds a lot faster for the rest of the project. @@ -48,7 +51,7 @@ jobs: run: yarn build:api-docs - name: Install MkDocs dependencies - run: pip3 install mkdocs mkdocs-techdocs-core + run: pip install mkdocs mkdocs-techdocs-core - name: Build MkDocs for TechDocs run: mkdocs build --strict From 894b99737164232341b48bfd4afbd90a818865bd Mon Sep 17 00:00:00 2001 From: blam Date: Wed, 24 Apr 2024 15:24:42 +0200 Subject: [PATCH 2/2] chore: test Signed-off-by: blam Signed-off-by: blam --- .github/workflows/verify_microsite.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/verify_microsite.yml b/.github/workflows/verify_microsite.yml index 408fb03b2e..68378aa086 100644 --- a/.github/workflows/verify_microsite.yml +++ b/.github/workflows/verify_microsite.yml @@ -38,6 +38,9 @@ jobs: with: python-version: '3.9' + - name: Install MkDocs dependencies + run: pip install mkdocs mkdocs-techdocs-core + # Skip caching of microsite dependencies, it keeps the global cache size # smaller, which make Windows builds a lot faster for the rest of the project. - name: top-level install @@ -50,9 +53,6 @@ jobs: - name: build API reference run: yarn build:api-docs - - name: Install MkDocs dependencies - run: pip install mkdocs mkdocs-techdocs-core - - name: Build MkDocs for TechDocs run: mkdocs build --strict