File tree Expand file tree Collapse file tree 6 files changed +31
-18
lines changed Expand file tree Collapse file tree 6 files changed +31
-18
lines changed Original file line number Diff line number Diff line change 11name : CD
22
3+ permissions :
4+ contents : read
5+
36on :
47 workflow_dispatch :
58 pull_request :
@@ -14,11 +17,11 @@ jobs:
1417 dist :
1518 runs-on : ubuntu-latest
1619 steps :
17- - uses : actions/checkout@v4
20+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1821 with :
1922 fetch-depth : 0
2023
21- - uses : hynek/build-and-inspect-python-package@v2
24+ - uses : hynek/build-and-inspect-python-package@b5076c307dc91924a82ad150cdd1533b444d3310 # v2.12.0
2225
2326 publish :
2427 needs : [dist]
@@ -31,14 +34,14 @@ jobs:
3134 if : github.event_name == 'release' && github.event.action == 'published'
3235
3336 steps :
34- - uses : actions/download-artifact@v4
37+ - uses : actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # v4.2.0
3538 with :
3639 name : Packages
3740 path : dist
3841
3942 - name : Generate artifact attestation for sdist and wheel
40- 43+ uses : actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
4144 with :
4245 subject-path : " dist/*"
4346
44- - uses : pypa/gh-action-pypi-publish@release/v1
47+ - uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
Original file line number Diff line number Diff line change 11name : CI
22
3+ permissions :
4+ contents : read
5+
36on :
47 workflow_dispatch :
58 pull_request :
@@ -21,16 +24,16 @@ jobs:
2124 name : Format
2225 runs-on : ubuntu-latest
2326 steps :
24- - uses : actions/checkout@v4
27+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2528 with :
2629 fetch-depth : 0
27- - uses : actions/setup-python@v5
30+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2831 with :
2932 python-version : " 3.x"
30- -
uses :
pre-commit/[email protected] 33+ - uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
3134 with :
3235 extra_args : --hook-stage manual --all-files
33- -
uses :
prefix-dev/[email protected] 36+ - uses : prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3
3437 with :
3538 pixi-version : v0.42.1
3639 cache : true
@@ -52,11 +55,11 @@ jobs:
5255 runs-on : [ubuntu-latest]
5356
5457 steps :
55- - uses : actions/checkout@v4
58+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5659 with :
5760 fetch-depth : 0
5861
59- -
uses :
prefix-dev/[email protected] 62+ - uses : prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3
6063 with :
6164 pixi-version : v0.42.1
6265 cache : true
6669 run : pixi run -e ${{ matrix.environment }} tests-ci
6770
6871 - name : Upload coverage report
69- 72+ uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
7073 with :
7174 token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1313 steps :
1414 - name : Dependabot metadata
1515 id : metadata
16- uses : dependabot/fetch-metadata@v2
16+ uses : dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7 # v2.3.0
1717 with :
1818 github-token : " ${{ secrets.GITHUB_TOKEN }}"
1919 - name : Enable auto-merge for Dependabot PRs
Original file line number Diff line number Diff line change 11name : Docs Build
22
3+ permissions :
4+ contents : read
5+
36on : [push, pull_request]
47
58jobs :
69 docs-build :
710 runs-on : ubuntu-latest
811 steps :
9- - uses : actions/checkout@v4
12+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1013 -
uses :
prefix-dev/[email protected] 1114 with :
1215 pixi-version : v0.42.1
1518 - name : Build Docs
1619 run : pixi run -e docs docs
1720 - name : Upload Artifact
18- uses : actions/upload-artifact@v4
21+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
1922 with :
2023 name : docs-build
2124 path : docs/build/
Original file line number Diff line number Diff line change 11name : Docs Deploy
22
3+ permissions :
4+ contents : read
5+
36on :
47 workflow_run :
58 workflows : ["Docs Build"]
1417 environment :
1518 name : docs-deploy
1619 steps :
17- - uses : actions/checkout@v4
20+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1821 - name : Download Artifact
19- uses : dawidd6/action-download-artifact@v9
22+ uses : dawidd6/action-download-artifact@07ab29fd4a977ae4d2b275087cf67563dfdf0295 # v9
2023 with :
2124 workflow : docs-build.yml
2225 name : docs-build
2629 # See
2730 # https://github.com/JamesIves/github-pages-deploy-action/tree/dev#using-an-ssh-deploy-key-
2831 - name : Deploy
29- uses : JamesIves/github-pages-deploy-action@v4
32+ uses : JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
3033 with :
3134 folder : docs/build/
3235 ssh-key : ${{ secrets.DEPLOY_KEY }}
Original file line number Diff line number Diff line change 1111[ ![ Conda-Forge] [ conda-badge ]] [ conda-link ]
1212[ ![ PyPI platforms] [ pypi-platforms ]] [ pypi-link ]
1313[ ![ EffVer Versioning] ( https://img.shields.io/badge/version_scheme-EffVer-0097a7 )] ( https://jacobtomlinson.dev/effver )
14+ [ ![ SPEC 0 — Minimum Supported Dependencies] ( https://img.shields.io/badge/SPEC-0-green?labelColor=%23004811&color=%235CA038 )] ( https://scientific-python.org/specs/spec-0000/ )
1415
1516<!-- SPHINX-START -->
1617
You can’t perform that action at this time.
0 commit comments