Skip to content

Commit b47c48f

Browse files
Update copier template to v0.1.10 (#24)
Co-authored-by: quant-ranger[bot] <132915763+quant-ranger[bot]@users.noreply.github.com>
1 parent dc450ed commit b47c48f

File tree

5 files changed

+23
-7
lines changed

5 files changed

+23
-7
lines changed

.copier-answers.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file is managed by Copier; DO NOT EDIT OR REMOVE.
2-
_commit: v0.1.9
2+
_commit: v0.1.10
33
_src_path: git@github.com:quantco/copier-template-pre-commit-mirrors
44
conda_package: rust
55
description: Run `cargo fmt` for formatting rust sources.

.github/workflows/autoupdate.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Checkout branch
1919
uses: actions/checkout@v4
2020
- name: Set up Conda env
21-
uses: mamba-org/setup-micromamba@422500192359a097648154e8db4e39bdb6c6eed7
21+
uses: mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc
2222
with:
2323
environment-file: environment.yml
2424
environment-name: check-env
@@ -34,7 +34,7 @@ jobs:
3434
echo "pkgname=$pkgname" >> $GITHUB_OUTPUT
3535
echo "new-version=$new_version" >> $GITHUB_OUTPUT
3636
fi
37-
- uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc
37+
- uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f
3838
if: steps.versions.outputs.pkgname
3939
with:
4040
commit-message: "Update ${{ steps.versions.outputs.pkgname }} to ${{ steps.versions.outputs.new-version }}"

.github/workflows/ci.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,23 @@ on:
77
pull_request:
88

99
jobs:
10+
pre-commit-checks:
11+
name: Pre-commit Checks
12+
timeout-minutes: 30
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout branch
16+
uses: actions/checkout@v4
17+
- name: Run pre-commit-conda
18+
uses: quantco/pre-commit-conda@v1
1019
env:
1120
name: Test env
1221
runs-on: ubuntu-latest
1322
steps:
1423
- name: Checkout branch
1524
uses: actions/checkout@v4
16-
with:
17-
ref: ${{ github.head_ref }}
1825
- name: Set up Conda env
19-
uses: mamba-org/setup-micromamba@422500192359a097648154e8db4e39bdb6c6eed7
26+
uses: mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc
2027
with:
2128
environment-file: environment.yml
2229
environment-name: test-env

.github/workflows/keep-alive.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
actions: write
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: gautamkrishnar/keepalive-workflow@14b7c72e9af14bddbbc1022a6f0bd20b1eac2619
14+
- uses: gautamkrishnar/keepalive-workflow@995aec69bb3f2b45b20f4e107907992c8715086d

.pre-commit-config.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
exclude: ^\.copier-answers\.yml$
2+
repos:
3+
- repo: https://github.com/Quantco/pre-commit-mirrors-pre-commit-hooks
4+
rev: 4.5.0
5+
hooks:
6+
- id: trailing-whitespace-conda
7+
- id: end-of-file-fixer-conda
8+
- id: check-merge-conflict-conda
9+
args: ["--assume-in-merge"]

0 commit comments

Comments
 (0)