Skip to content

Commit

Permalink
update pre-commit hooks: remove beautysh&prettier, replace with shell…
Browse files Browse the repository at this point in the history
…-fmt-go&yamlfmt
  • Loading branch information
lkeegan committed May 3, 2024
1 parent 323cf49 commit 687bdda
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Release Builds

on: push

env:
QT_VERSION: "v6.7.0"
ZLIB_VERSION: "v1.3.1" # not used for msvc builds

jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -43,7 +40,6 @@ jobs:
tag: ${{ github.ref }}
overwrite: true
file_glob: true

msvc:
runs-on: windows-2022
permissions:
Expand Down
25 changes: 16 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,25 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: '.*\.diff$'
- id: check-yaml
- id: trailing-whitespace

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
exclude: '.*\.diff$'
- id: check-added-large-files
- id: mixed-line-ending
exclude: '.*\.diff$'
- repo: https://github.com/rhysd/actionlint
rev: v1.6.27
hooks:
- id: actionlint
- repo: https://github.com/pecigonzalo/pre-commit-shfmt
rev: v2.2.0
hooks:
- id: prettier

- repo: https://github.com/lovesegfault/beautysh
rev: v6.2.1
- id: shell-fmt-go
- repo: https://github.com/google/yamlfmt
rev: v0.11.0
hooks:
- id: beautysh
- id: yamlfmt
ci:
autoupdate_schedule: quarterly
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ $SUDO_CMD cp zconf.h $INSTALL_PREFIX/include/.
$SUDO_CMD cp ../zlib.h $INSTALL_PREFIX/include/.
cd ../../


# download Qt sources to qt/qt5
git clone https://code.qt.io/qt/qt5.git
cd qt5
Expand Down

0 comments on commit 687bdda

Please sign in to comment.