Skip to content

Commit 00aad1a

Browse files
franzpoeschelax3l
andauthored
Backport CI fixes to release 0.16.2 (#1726)
* RTD: Sphinx Key (#1715) https://about.readthedocs.com/blog/2024/12/deprecate-config-files-without-sphinx-or-mkdocs-config/ * Pre-commit * Fix source/documentation CI run (#1719) * Empty commit to verify that the CI run is broken * uhh try changing to another conda setup action? * Cleanup --------- Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
1 parent 3a60e77 commit 00aad1a

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.github/workflows/source.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,18 @@ jobs:
3636
runs-on: ubuntu-22.04
3737
steps:
3838
- uses: actions/checkout@v4
39-
- uses: s-weigand/setup-conda@v1.2.2
39+
- uses: conda-incubator/setup-miniconda@v3
40+
name: Setup conda
4041
with:
41-
update-conda: true
42-
conda-channels: conda-forge
42+
auto-update-conda: true
43+
channels: conda-forge,defaults
44+
channel-priority: true
4345
- name: Install
4446
run: conda install -c conda-forge doxygen=1.9.6
4547
- name: Doxygen
46-
run: .github/workflows/source/buildDoxygen
48+
run: |
49+
source /usr/share/miniconda/bin/activate
50+
.github/workflows/source/buildDoxygen
4751
4852
urls:
4953
runs-on: ubuntu-latest

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ repos:
6666
# clang-format v13
6767
# to run manually, use .github/workflows/clang-format/clang-format.sh
6868
- repo: https://github.com/pre-commit/mirrors-clang-format
69-
rev: v19.1.1
69+
rev: v19.1.7
7070
hooks:
7171
- id: clang-format
7272
# By default, the clang-format hook configures:
@@ -80,15 +80,15 @@ repos:
8080

8181
# Autoremoves unused Python imports
8282
- repo: https://github.com/hadialqattan/pycln
83-
rev: v2.4.0
83+
rev: v2.5.0
8484
hooks:
8585
- id: pycln
8686
name: pycln (python)
8787

8888
# Sorts Python imports according to PEP8
8989
# https://www.python.org/dev/peps/pep-0008/#imports
9090
- repo: https://github.com/pycqa/isort
91-
rev: 5.13.2
91+
rev: 6.0.0
9292
hooks:
9393
- id: isort
9494
name: isort (python)
@@ -128,7 +128,7 @@ repos:
128128

129129
# Checks the manifest for missing files (native support)
130130
- repo: https://github.com/mgedmin/check-manifest
131-
rev: "0.49"
131+
rev: "0.50"
132132
hooks:
133133
- id: check-manifest
134134
# This is a slow hook, so only run this if --hook-stage manual is passed

.readthedocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ python:
44
install:
55
- requirements: docs/requirements.txt
66

7+
sphinx:
8+
configuration: docs/source/conf.py
9+
710
formats:
811
- htmlzip
912
- pdf

0 commit comments

Comments
 (0)