Skip to content

Commit 5ba721d

Browse files
author
Hai Zheng
committed
v7.4-b8: github auto typos check. (Viktor Szépe)
1 parent 38f5aa8 commit 5ba721d

3 files changed

Lines changed: 20 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup PHP
1818
uses: shivammathur/setup-php@v2
1919
with:
20-
php-version: '8.2' # Adjust to your project's PHP version
20+
php-version: '8.2'
2121
coverage: none
2222

2323
- name: Initialize Node.js
@@ -49,3 +49,11 @@ jobs:
4949

5050
- name: Run format check
5151
run: npm run format-check
52+
53+
- name: Install typos
54+
run: |
55+
curl -LsSf https://github.com/crate‑ci/typos/releases/download/v1.35.1/typos-v1.35.1-x86_64-unknown-linux-musl.tar.gz | tar xz
56+
sudo mv typos /usr/local/bin/
57+
58+
- name: Run typos check
59+
run: typos

litespeed-cache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: LiteSpeed Cache
55
* Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
66
* Description: High-performance page caching and site optimization from LiteSpeed
7-
* Version: 7.4-b7
7+
* Version: 7.4-b8
88
* Author: LiteSpeed Technologies
99
* Author URI: https://www.litespeedtech.com
1010
* License: GPLv3
@@ -32,7 +32,7 @@
3232

3333
if (defined('LSCWP_V')) return;
3434

35-
!defined('LSCWP_V') && define('LSCWP_V', '7.4-b7');
35+
!defined('LSCWP_V') && define('LSCWP_V', '7.4-b8');
3636

3737
!defined('LSCWP_CONTENT_DIR') && define('LSCWP_CONTENT_DIR', WP_CONTENT_DIR);
3838
!defined('LSCWP_DIR') && define('LSCWP_DIR', __DIR__ . '/'); // Full absolute path '/var/www/html/***/wp-content/plugins/litespeed-cache/' or MU

typos.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[files]
2+
extend-exclude = [
3+
"**",
4+
]
5+
extend-include = [
6+
"cli/**",
7+
"tpl/**",
8+
"autoload.php",
9+
]

0 commit comments

Comments
 (0)