Skip to content
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
9 changes: 5 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# The workflow actions are pinned to commit SHAs, which never move on
# their own; this keeps them current. Dependabot reads the version from
# the trailing comment on each pin and rewrites both together. The conda
# pins are kept current by the Conda update workflow instead.
# The workflow actions name exact releases, so they never move to a newer
# version on their own; this keeps them current. Each release is locked
# to its commit in .github/workflows/actions.lock, and Dependabot
# regenerates the matching entry in the same pull request. The conda pins
# are kept current by the Conda update workflow instead.
version: 2
updates:
- package-ecosystem: github-actions
Expand Down
66 changes: 66 additions & 0 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# This file is machine-generated by `gh actions-lock`.
# Do not edit by hand; run `gh actions-lock` to update.
# Docs: https://gh.io/actions-lockfile
version: 'v0.0.3'
workflows:
'.github/workflows/build_test.yml':
- 'actions/cache@v6.1.0'
- 'actions/checkout@v7.0.1'
- 'conda-incubator/setup-miniconda@v4.1.0'
'.github/workflows/conda-update.yml':
- 'actions/checkout@v7.0.1'
- 'mamba-org/setup-micromamba@v3.2.1'
'.github/workflows/docs.yml':
- 'actions/checkout@v7.0.1'
- 'actions/deploy-pages@v5.0.1'
- 'actions/setup-python@v6.3.0'
- 'actions/upload-artifact@v7.0.2'
- 'actions/upload-pages-artifact@v5.0.0'
dependencies:
'actions/cache@v6.1.0':
ref: 'v6.1.0'
commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
owner_id: 44036562
repo_id: 215566462
'actions/checkout@v7.0.1':
ref: 'v7.0.1'
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
owner_id: 44036562
repo_id: 197814629
'actions/deploy-pages@v5.0.1':
ref: 'v5.0.1'
commit: 'sha1-368f82528645a54fb793d4d04e342629a3f51346'
owner_id: 44036562
repo_id: 438112499
'actions/setup-python@v6.3.0':
ref: 'v6.3.0'
commit: 'sha1-ece7cb06caefa5fff74198d8649806c4678c61a1'
owner_id: 44036562
repo_id: 192625525
'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f':
ref: 'v7.0.0'
commit: 'sha1-bbbca2ddaa5d8feaa63e36b76fdaad77386f024f'
owner_id: 44036562
repo_id: 192625955
'actions/upload-artifact@v7.0.2':
ref: 'v7.0.2'
commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
owner_id: 44036562
repo_id: 192625955
'actions/upload-pages-artifact@v5.0.0':
ref: 'v5.0.0'
commit: 'sha1-fc324d3547104276b827a68afc52ff2a11cc49c9'
owner_id: 44036562
repo_id: 496012378
uses:
- 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f'
'conda-incubator/setup-miniconda@v4.1.0':
ref: 'v4.1.0'
commit: 'sha1-be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb'
owner_id: 68608217
repo_id: 228279841
'mamba-org/setup-micromamba@v3.2.1':
ref: 'v3.2.1'
commit: 'sha1-f457c30a868e4760d3a6fcea5f25dc655b8edf39'
owner_id: 66118895
repo_id: 595118157
8 changes: 4 additions & 4 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
# fresh conda install may not preserve, so compare contents instead.
CCACHE_COMPILERCHECK: content
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
# The runner context is not available in the job env, so the cache
# directories are set here for every later step.
- name: Set cache directories
run: |
echo "CCACHE_DIR=${RUNNER_TEMP}/ccache" >> "$GITHUB_ENV"
echo "DEPS_DIR=${RUNNER_TEMP}/deps" >> "$GITHUB_ENV"
- uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
- uses: conda-incubator/setup-miniconda@v4.1.0
with:
channels: conda-forge
conda-remove-defaults: true
Expand All @@ -39,7 +39,7 @@ jobs:
# own under the commit, so the cache rolls forward rather than
# freezing at the first save.
- name: Restore ccache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ runner.os }}-${{ github.sha }}
Expand All @@ -50,7 +50,7 @@ jobs:
# so the key covers the file that pins them and the one that chooses
# the toolchain.
- name: Restore dependency sources
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: ${{ env.DEPS_DIR }}
key: deps-${{ runner.os }}-${{ hashFiles('CMakeLists.txt', 'environment.yml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/conda-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
BRANCH: conda-update
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
# With no environment named, only the micromamba binary is installed;
# the script runs its own dry-run solves
- uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1
- uses: mamba-org/setup-micromamba@v3.2.1
# Progress goes to the log and the list of changes to a file, for the
# pull request body
- name: Solve the pins
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
# Doxygen only parses the source, so no C++ toolchain or the
# HDF5/gemmi/Eigen dependencies are needed here.
- name: Install Doxygen and Graphviz
run: sudo apt-get update && sudo apt-get install -y doxygen graphviz
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
- uses: actions/setup-python@v6.3.0
with:
python-version: "3.12"
- name: Install Python dependencies
Expand All @@ -32,13 +32,13 @@ jobs:
# artifact so reviewers can preview the docs without building.
- name: Upload preview artifact
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
uses: actions/upload-artifact@v7.0.2
with:
name: docs-html
path: docs/_build/html
- name: Upload Pages artifact
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
uses: actions/upload-pages-artifact@v5.0.0
with:
path: docs/_build/html
deploy:
Expand All @@ -57,4 +57,4 @@ jobs:
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
uses: actions/deploy-pages@v5.0.1
Loading