Skip to content

Add dependabot for updating actions. #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
27 changes: 2 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v2.2.0
with:
auto-update-conda: false
python-version: ${{ matrix.python-version }}
channels: conda-forge,nodefaults
mamba-version: "*"
miniforge-variant: Mambaforge

- name: Install core dependencies.
shell: bash -l {0}
Expand All @@ -52,26 +52,3 @@ jobs:
if: runner.os == 'Linux' && matrix.python-version == '3.9'
shell: bash -l {0}
run: bash <(curl -s https://codecov.io/bash) -F end_to_end -c


docs:

name: Run documentation.
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: mamba-org/provision-with-micromamba@main
with:
environment-file: false
environment-name: gha-docs
channels: conda-forge,nodefaults
extra-specs: |
python=3.11
mamba
tox-conda
cache-downloads: true

- name: Build docs
shell: bash -l {0}
run: tox -e sphinx
7 changes: 7 additions & 0 deletions {{cookiecutter.package_name}}/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
29 changes: 3 additions & 26 deletions {{cookiecutter.package_name}}/.github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2.2.0
with:
auto-update-conda: false
python-version: ${{ matrix.python-version }}
channels: conda-forge,nodefaults
mamba-version: "*"
miniforge-variant: Mambaforge

- name: Install core dependencies.
shell: bash -l {0}
Expand All @@ -61,26 +61,3 @@ jobs:
if: runner.os == 'Linux' && matrix.python-version == '3.9'
shell: bash -l {0}
run: bash <(curl -s https://codecov.io/bash) -F end_to_end -c


docs:

name: Run documentation.
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: mamba-org/provision-with-micromamba@main
with:
environment-file: false
environment-name: gha-docs
channels: conda-forge,nodefaults
extra-specs: |
python=3.11
mamba
tox-conda
cache-downloads: true

- name: Build docs
shell: bash -l {0}
run: tox -e sphinx