Skip to content

Commit 687bdda

Browse files
committed
update pre-commit hooks: remove beautysh&prettier, replace with shell-fmt-go&yamlfmt
1 parent 323cf49 commit 687bdda

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

.github/workflows/release.yml

-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
name: Release Builds
2-
32
on: push
4-
53
env:
64
QT_VERSION: "v6.7.0"
75
ZLIB_VERSION: "v1.3.1" # not used for msvc builds
8-
96
jobs:
107
build:
118
runs-on: ${{ matrix.os }}
@@ -43,7 +40,6 @@ jobs:
4340
tag: ${{ github.ref }}
4441
overwrite: true
4542
file_glob: true
46-
4743
msvc:
4844
runs-on: windows-2022
4945
permissions:

.pre-commit-config.yaml

+16-9
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,25 @@ repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
33
rev: v4.6.0
44
hooks:
5-
- id: check-yaml
65
- id: end-of-file-fixer
6+
exclude: '.*\.diff$'
7+
- id: check-yaml
78
- id: trailing-whitespace
8-
9-
- repo: https://github.com/pre-commit/mirrors-prettier
10-
rev: v4.0.0-alpha.8
9+
exclude: '.*\.diff$'
10+
- id: check-added-large-files
11+
- id: mixed-line-ending
12+
exclude: '.*\.diff$'
13+
- repo: https://github.com/rhysd/actionlint
14+
rev: v1.6.27
15+
hooks:
16+
- id: actionlint
17+
- repo: https://github.com/pecigonzalo/pre-commit-shfmt
18+
rev: v2.2.0
1119
hooks:
12-
- id: prettier
13-
14-
- repo: https://github.com/lovesegfault/beautysh
15-
rev: v6.2.1
20+
- id: shell-fmt-go
21+
- repo: https://github.com/google/yamlfmt
22+
rev: v0.11.0
1623
hooks:
17-
- id: beautysh
24+
- id: yamlfmt
1825
ci:
1926
autoupdate_schedule: quarterly

build.sh

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ $SUDO_CMD cp zconf.h $INSTALL_PREFIX/include/.
4141
$SUDO_CMD cp ../zlib.h $INSTALL_PREFIX/include/.
4242
cd ../../
4343

44-
4544
# download Qt sources to qt/qt5
4645
git clone https://code.qt.io/qt/qt5.git
4746
cd qt5

0 commit comments

Comments
 (0)