Skip to content

Commit 6f8d4d1

Browse files
committed
fix shell
1 parent b5ec4d9 commit 6f8d4d1

2 files changed

Lines changed: 14 additions & 11 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:

.github/workflows/python-package-conda-cache.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,10 @@ jobs:
3939
name: ${{ matrix.label }}
4040
runs-on: ${{ matrix.os }}
4141
steps:
42-
- uses: actions/checkout@v4
43-
44-
- name: Build C
45-
run: make -C qstack/regression/lib/
42+
- uses: actions/checkout@v5
4643

4744
- name: Setup Miniforge
48-
uses: conda-incubator/setup-miniconda@v2
45+
uses: conda-incubator/setup-miniconda@v3
4946
with:
5047
miniforge-version: latest
5148
activate-environment: my-env
@@ -64,15 +61,24 @@ jobs:
6461
run: conda env update -n my-env -f environment.yml
6562
if: steps.cache.outputs.cache-hit != 'true'
6663

64+
- name: Build C
65+
run: make -C qstack/regression/lib/
66+
6767
- name: Run tests
6868
shell: bash -l {0}
6969
run: pytest ./tests
7070

7171

7272
# maybe split back into two workflows depending on each other
73+
7374
build-docs:
75+
7476
needs: build
7577

78+
defaults:
79+
run:
80+
shell: bash -el {0}
81+
7682
strategy:
7783
matrix:
7884
include:
@@ -83,10 +89,10 @@ jobs:
8389
name: ${{ matrix.label }}
8490
runs-on: ${{ matrix.os }}
8591
steps:
86-
- uses: actions/checkout@v4
92+
- uses: actions/checkout@v5
8793

8894
- name: Setup Miniforge
89-
uses: conda-incubator/setup-miniconda@v2
95+
uses: conda-incubator/setup-miniconda@v3
9096
with:
9197
miniforge-version: latest
9298
activate-environment: my-env
@@ -112,15 +118,12 @@ jobs:
112118

113119
- name: Install documentation requirements
114120
if: steps.cache-doc.outputs.cache-hit != 'true'
115-
shell: bash -l {0}
116121
run: pip install -r docs/requirements.txt
117122

118123
- name: Build documentation src
119-
shell: bash -l {0}
120124
run: make build-src -C docs/
121125

122126
- name: Build HTML
123-
shell: bash -l {0}
124127
run: make html -C docs/
125128

126129
- name: Upload artifacts

0 commit comments

Comments
 (0)