Skip to content

Commit dfdb715

Browse files
committed
use prek GA instead of separate ones
easier to maitain
1 parent ff20749 commit dfdb715

3 files changed

Lines changed: 9 additions & 16 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,10 @@ jobs:
1919
persist-credentials: false
2020

2121
- name: zizmor
22-
uses: zizmorcore/zizmor-action@135698455da5c3b3e55f73f4419e481ab68cdd95 # v0.4.1
22+
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
2323

24-
- name: typos
25-
uses: crate-ci/typos@65120634e79d8374d1aa2f27e54baa0c364fff5a # v1.42.1
26-
27-
- name: Install tombi
28-
uses: tombi-toml/setup-tombi@f7cb38e77d9a62bc27a8445bf50e660e9496b893 # v1.0.7
29-
30-
- name: Validate TOML files
31-
run: tombi lint
32-
33-
- name: Ruff
34-
uses: astral-sh/ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # v3.5.1
24+
- name: pre-commit hooks
25+
uses: j178/prek-action@0bb87d7f00b0c99306c8bcb8b8beba1eb581c037 # v1.1.1
3526

3627
build:
3728
name: Build distribution

.github/workflows/togitlab.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
push:
1111
name: Push to Gitlab
1212
runs-on: ubuntu-latest
13+
environment:
14+
name: coml-gitlab
1315
env:
1416
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
1517
GITLAB_REPO: gitlab.cognitive-ml.fr/mpoli/fastabx.git

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
repos:
22
- repo: https://github.com/zizmorcore/zizmor-pre-commit
3-
rev: v1.22.0
3+
rev: v1.23.1
44
hooks:
55
- id: zizmor
66
- repo: https://github.com/crate-ci/typos
7-
rev: v1.42.1
7+
rev: v1.44.0
88
hooks:
99
- id: typos
1010
- repo: https://github.com/tombi-toml/tombi-pre-commit
11-
rev: v0.7.25
11+
rev: v0.9.5
1212
hooks:
1313
- id: tombi-format
1414
- id: tombi-lint
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.14.13
16+
rev: v0.15.6
1717
hooks:
1818
- id: ruff-check
1919
args: [ --fix ]

0 commit comments

Comments
 (0)