Skip to content

add dependabot updates and linkcheck #340

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
Apr 28, 2025
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
17 changes: 10 additions & 7 deletions .github/workflows/check_sphinx_build.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
name: Check Sphinx Build

on:
pull_request:
branches: [master, source]

jobs:
jekyll_build:
name: Jekyll build of web pages
build-docs:
name: Sphinx build of web pages
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

steps:
# https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true

- name: Install Conda environment from environment.yml
uses: mamba-org/setup-micromamba@v2.0.0
uses: mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc # v2.0.4
with:
environment-file: environment.yml
cache-environment: true

- name: Build documentation
shell: bash -l {0}
run: |
make html
make html linkcheck

# workaround https://github.com/actions/upload-artifact/issues/38
- name: tarball
run: tar czf site.tar.gz ./_build/html/

# https://github.com/actions/upload-artifact
- name: Upload Website artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
with:
name: Website
path: site.tar.gz
15 changes: 15 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# See https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "Bot"
groups:
github-actions:
patterns:
- '*'
Loading