Skip to content

Commit ea87846

Browse files
authored
Fix CI (#151)
In the previous repo-config update issues were introduced into the CI. They are fixed with this PR.
2 parents f536c22 + ffa1796 commit ea87846

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

.github/workflows/ci.yaml

+4-21
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ jobs:
171171
with:
172172
name: dist-packages
173173
path: dist
174+
- name: Make Git credentials available to docker
175+
run: |
176+
touch ~/.git-credentials # Ensure the file exists
177+
cp ~/.git-credentials git-credentials || true
174178
- name: Set up QEMU
175179
uses: docker/setup-qemu-action@v3
176180
- name: Set up docker-buildx
@@ -358,15 +362,6 @@ jobs:
358362
# https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
359363
id-token: write
360364
steps:
361-
- name: Setup Git
362-
uses: frequenz-floss/[email protected]
363-
# with:
364-
# username: ${{ secrets.GIT_USER }}
365-
# password: ${{ secrets.GIT_PASS }}
366-
367-
- name: Fetch sources
368-
uses: actions/checkout@v4
369-
370365
- name: Download package
371366
uses: actions/download-artifact@v4
372367
with:
@@ -375,15 +370,3 @@ jobs:
375370

376371
- name: Publish the Python distribution to PyPI
377372
uses: pypa/gh-action-pypi-publish@release/v1
378-
- name: Make Git credentials available to docker
379-
run: |
380-
touch ~/.git-credentials # Ensure the file exists
381-
cp ~/.git-credentials git-credentials || true
382-
383-
- name: Set up QEMU
384-
uses: docker/setup-qemu-action@v3
385-
386-
- name: Set up docker-buildx
387-
uses: docker/setup-buildx-action@v3
388-
389-
- name: Test Installation

pyproject.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,12 @@ dev-formatting = ["black == 24.4.2", "isort == 5.12.0"]
6767
dev-mkdocs = [
6868
"black == 24.4.2",
6969
"Markdown==3.7",
70-
"mike == 2.0.0",
70+
"mike == 2.1.3",
7171
"mkdocs-gen-files == 0.5.0",
7272
"mkdocs-literate-nav == 0.6.1",
7373
"mkdocs-macros-plugin == 1.0.4",
7474
"mkdocs-material == 9.4.4",
75-
"mkdocstrings[python] == 0.25.0",
76-
"mkdocstrings-python == 1.9.2",
75+
"mkdocstrings[python] == 0.27.0",
7776
"mkdocstrings-python == 1.10.8",
7877
"frequenz-repo-config[api] == 0.10.0",
7978
]

0 commit comments

Comments
 (0)