From 42a33a4abbe7f20ab7a3f57609a401c9bc65d8bb Mon Sep 17 00:00:00 2001 From: "Mario G." Date: Mon, 16 Dec 2024 12:07:02 +0100 Subject: [PATCH] fix(ci): running mkdocs with poetry --- .github/workflows/{gql-pr.yml => pr.yml} | 2 +- .github/workflows/{gql-release.yml => release.yml} | 4 ++-- docs/guide/poetry.lock | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) rename .github/workflows/{gql-pr.yml => pr.yml} (93%) rename .github/workflows/{gql-release.yml => release.yml} (93%) diff --git a/.github/workflows/gql-pr.yml b/.github/workflows/pr.yml similarity index 93% rename from .github/workflows/gql-pr.yml rename to .github/workflows/pr.yml index 96dae39..ea77e14 100644 --- a/.github/workflows/gql-pr.yml +++ b/.github/workflows/pr.yml @@ -1,4 +1,4 @@ -name: development +name: pull-requests on: [pull_request] diff --git a/.github/workflows/gql-release.yml b/.github/workflows/release.yml similarity index 93% rename from .github/workflows/gql-release.yml rename to .github/workflows/release.yml index bc34457..fbc818f 100644 --- a/.github/workflows/gql-release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: main +name: release on: push: @@ -24,7 +24,7 @@ jobs: - name: installing poetry run: python -m pip install --upgrade pip && pip install poetry - name: building docs - run: cd docs/guide/docs && poetry install && poetry shell && mkdocs build + run: cd docs/guide/docs && poetry install && poetry run mkdocs build - uses: actions/setup-java@v4 with: distribution: 'corretto' diff --git a/docs/guide/poetry.lock b/docs/guide/poetry.lock index 7147e67..6808f88 100644 --- a/docs/guide/poetry.lock +++ b/docs/guide/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.5 and should not be changed by hand. [[package]] name = "babel" @@ -16,13 +16,13 @@ dev = ["freezegun (>=1.0,<2.0)", "pytest (>=6.0)", "pytest-cov"] [[package]] name = "certifi" -version = "2024.8.30" +version = "2024.12.14" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" files = [ - {file = "certifi-2024.8.30-py3-none-any.whl", hash = "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8"}, - {file = "certifi-2024.8.30.tar.gz", hash = "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9"}, + {file = "certifi-2024.12.14-py3-none-any.whl", hash = "sha256:1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56"}, + {file = "certifi-2024.12.14.tar.gz", hash = "sha256:b650d30f370c2b724812bee08008be0c4163b163ddaec3f2546c1caf65f191db"}, ] [[package]] @@ -356,13 +356,13 @@ pyyaml = ">=5.1" [[package]] name = "mkdocs-material" -version = "9.5.48" +version = "9.5.49" description = "Documentation that simply works" optional = false python-versions = ">=3.8" files = [ - {file = "mkdocs_material-9.5.48-py3-none-any.whl", hash = "sha256:b695c998f4b939ce748adbc0d3bff73fa886a670ece948cf27818fa115dc16f8"}, - {file = "mkdocs_material-9.5.48.tar.gz", hash = "sha256:a582531e8b34f4c7ed38c29d5c44763053832cf2a32f7409567e0c74749a47db"}, + {file = "mkdocs_material-9.5.49-py3-none-any.whl", hash = "sha256:c3c2d8176b18198435d3a3e119011922f3e11424074645c24019c2dcf08a360e"}, + {file = "mkdocs_material-9.5.49.tar.gz", hash = "sha256:3671bb282b4f53a1c72e08adbe04d2481a98f85fed392530051f80ff94a9621d"}, ] [package.dependencies]