Skip to content

Commit fa3fcb9

Browse files
authored
Add dependabot for updating actions. (#13)
1 parent aba2540 commit fa3fcb9

File tree

4 files changed

+17
-49
lines changed

4 files changed

+17
-49
lines changed

.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"

.github/workflows/main.yml

+1-24
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- uses: actions/checkout@v3
36-
- uses: conda-incubator/setup-miniconda@v2
36+
- uses: conda-incubator/setup-miniconda@v2.2.0
3737
with:
3838
auto-update-conda: false
3939
python-version: ${{ matrix.python-version }}
@@ -52,26 +52,3 @@ jobs:
5252
if: runner.os == 'Linux' && matrix.python-version == '3.9'
5353
shell: bash -l {0}
5454
run: bash <(curl -s https://codecov.io/bash) -F end_to_end -c
55-
56-
57-
docs:
58-
59-
name: Run documentation.
60-
runs-on: ubuntu-latest
61-
62-
steps:
63-
- uses: actions/checkout@v3
64-
- uses: mamba-org/provision-with-micromamba@main
65-
with:
66-
environment-file: false
67-
environment-name: gha-docs
68-
channels: conda-forge,nodefaults
69-
extra-specs: |
70-
python=3.11
71-
mamba
72-
tox-conda
73-
cache-downloads: true
74-
75-
- name: Build docs
76-
shell: bash -l {0}
77-
run: tox -e sphinx
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"

{{cookiecutter.package_name}}/.github/workflows/main.yml

+2-25
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
3131

3232
steps:
33-
- uses: actions/checkout@v2
34-
- uses: conda-incubator/setup-miniconda@v2
33+
- uses: actions/checkout@v3
34+
- uses: conda-incubator/setup-miniconda@v2.2.0
3535
with:
3636
auto-update-conda: false
3737
python-version: ${{ matrix.python-version }}
@@ -61,26 +61,3 @@ jobs:
6161
if: runner.os == 'Linux' && matrix.python-version == '3.9'
6262
shell: bash -l {0}
6363
run: bash <(curl -s https://codecov.io/bash) -F end_to_end -c
64-
65-
66-
docs:
67-
68-
name: Run documentation.
69-
runs-on: ubuntu-latest
70-
71-
steps:
72-
- uses: actions/checkout@v3
73-
- uses: mamba-org/provision-with-micromamba@main
74-
with:
75-
environment-file: false
76-
environment-name: gha-docs
77-
channels: conda-forge,nodefaults
78-
extra-specs: |
79-
python=3.11
80-
mamba
81-
tox-conda
82-
cache-downloads: true
83-
84-
- name: Build docs
85-
shell: bash -l {0}
86-
run: tox -e sphinx

0 commit comments

Comments
 (0)