Skip to content

Commit c34259e

Browse files
[pre-commit.ci] pre-commit autoupdate (#3991)
* [pre-commit.ci] pre-commit autoupdate * Pin GitHub Actions to full length commit SHA * Set MAMBA_ROOT_PREFIX env var properly on Windows GMT build --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Wei Ji <[email protected]>
1 parent fcd3501 commit c34259e

14 files changed

+20
-20
lines changed

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
# Install Micromamba with conda-forge dependencies
5050
- name: Setup Micromamba
51-
uses: mamba-org/[email protected]
51+
uses: mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b # v2.0.5
5252
with:
5353
environment-name: pygmt
5454
cache-environment: true
@@ -84,7 +84,7 @@ jobs:
8484

8585
# Run the benchmark tests
8686
- name: Run benchmarks
87-
uses: CodSpeedHQ/[email protected]
87+
uses: CodSpeedHQ/action@0010eb0ca6e89b80c88e8edaaa07cfe5f3e6664d # v3.5.0
8888
with:
8989
# 'bash -el -c' is needed to use the custom shell.
9090
# See https://github.com/CodSpeedHQ/action/issues/65.

.github/workflows/cache_data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
# Install Micromamba with conda-forge dependencies
4848
- name: Setup Micromamba
49-
uses: mamba-org/[email protected]
49+
uses: mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b # v2.0.5
5050
with:
5151
environment-name: pygmt
5252
create-args: >-

.github/workflows/check-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Link Checker
4242
id: lychee
43-
uses: lycheeverse/[email protected]
43+
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
4444
with:
4545
fail: false # Don't fail action on broken links
4646
output: /tmp/lychee-out.md

.github/workflows/ci_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383

8484
# Install Micromamba with conda-forge dependencies
8585
- name: Setup Micromamba
86-
uses: mamba-org/[email protected]
86+
uses: mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b # v2.0.5
8787
with:
8888
environment-name: pygmt
8989
cache-environment: true

.github/workflows/ci_doctests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
# Install Micromamba with conda-forge dependencies
4747
- name: Setup Micromamba
48-
uses: mamba-org/[email protected]
48+
uses: mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b # v2.0.5
4949
with:
5050
environment-name: pygmt
5151
create-args: >-

.github/workflows/ci_tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116

117117
# Install Micromamba with conda-forge dependencies
118118
- name: Setup Micromamba
119-
uses: mamba-org/[email protected]
119+
uses: mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b # v2.0.5
120120
with:
121121
environment-name: pygmt
122122
cache-environment: true
@@ -151,7 +151,7 @@ jobs:
151151
GH_TOKEN: ${{ github.token }}
152152

153153
- name: Install uv
154-
uses: astral-sh/[email protected]
154+
uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
155155
with:
156156
activate-environment: true
157157
python-version: ${{ matrix.python-version }}
@@ -183,7 +183,7 @@ jobs:
183183

184184
# Upload coverage to Codecov
185185
- name: Upload coverage to Codecov
186-
uses: codecov/[email protected]
186+
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
187187
if: success() || failure()
188188
with:
189189
use_oidc: true

.github/workflows/ci_tests_dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
# Install Micromamba with conda-forge dependencies
6262
- name: Setup Micromamba
63-
uses: mamba-org/[email protected]
63+
uses: mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b # v2.0.5
6464
with:
6565
environment-name: pygmt
6666
cache-environment: true
@@ -131,7 +131,7 @@ jobs:
131131
cmake -G Ninja .. ^
132132
-DCMAKE_INSTALL_PREFIX=%GMT_INSTALL_DIR% ^
133133
-DCMAKE_BUILD_TYPE=Release ^
134-
-DCMAKE_PREFIX_PATH=${{ env.MAMBA_ROOT_PREFIX }}\envs\pygmt\Library ^
134+
-DCMAKE_PREFIX_PATH=%MAMBA_ROOT_PREFIX%\envs\pygmt\Library ^
135135
-DGMT_ENABLE_OPENMP=TRUE ^
136136
-DGMT_USE_THREADS=TRUE
137137
cmake --build .

.github/workflows/ci_tests_legacy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
# Install Micromamba with conda-forge dependencies
5656
- name: Setup Micromamba
57-
uses: mamba-org/[email protected]
57+
uses: mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b # v2.0.5
5858
with:
5959
environment-name: pygmt
6060
create-args: >-

.github/workflows/dvc-diff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
persist-credentials: false
3131

3232
- name: Setup data version control (DVC)
33-
uses: iterative/[email protected]
33+
uses: iterative/setup-dvc@2508d098217d24eef3c0e8d7bc0ce7b9ca0723c3 # v1.1.2
3434

3535
- name: Setup continuous machine learning (CML)
36-
uses: iterative/[email protected]
36+
uses: iterative/setup-cml@f714cd201b7183852dd6f94192b34e7618717560 # v2.0.0
3737

3838
# Produce the markdown diff report, which should look like:
3939
# ## Summary of changed images

.github/workflows/publish-to-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
path: dist/
100100

101101
- name: Publish distribution 📦 to TestPyPI
102-
uses: pypa/[email protected]
102+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
103103
with:
104104
repository-url: https://test.pypi.org/legacy/
105105

@@ -123,4 +123,4 @@ jobs:
123123
path: dist/
124124

125125
- name: Publish distribution 📦 to PyPI
126-
uses: pypa/[email protected]
126+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4

0 commit comments

Comments
 (0)