Compare commits

...

3 Commits

Author SHA1 Message Date
ZAKARIA ELALAOUI
8158823d6a Merge fdda9f29a1 into aaee06c9fe 2025-02-14 19:49:14 +02:00
Viktor Svertoka
aaee06c9fe docs(regexp): add Regulex JavaScript RegExp visualizer (#908)
* docs(regexp): add Regulex JavaScript RegExp visualizer

Added Regulex, a JavaScript regular expression visualizer, to the RegExp section.  
Regulex provides an interactive way to understand regex patterns and their structure.

* docs(regexp): add Regulex JavaScript RegExp visualizer

Added Regulex, a JavaScript regular expression visualizer, to the RegExp section. Regulex provides an interactive way to understand regex patterns and their structure.
2025-02-13 21:41:38 +01:00
Viktor Svertoka
ff4dac0459 chore(ci): update GitHub Actions and Ruby version (#910)
1. Updated GitHub Actions versions:

actions/checkout@v2 → actions/checkout@v4

actions/upload-artifact@v2 → actions/upload-artifact@v4

Updated Ruby version from 2.6 to 3.2 (since 2.6 is no longer supported).

2. Optimized workflow steps:

Moved setup-ruby after checkout for better execution order.

Added bundler-cache: true to setup-ruby to prevent redundant gem installations.

3. Improved awesome_bot installation:

Added --no-document flag to speed up installation.

4. Made validation step more resilient:

Added continue-on-error: true to validate to prevent workflow failure on link errors.

5. Adjusted artifact handling:
Used if: ${{ failure() }} to ensure artifacts are uploaded only if the validation fails.
2025-02-13 18:50:19 +01:00
2 changed files with 11 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ on:
- synchronize - synchronize
env: env:
RUBY_VERSION: '2.6' RUBY_VERSION: '3.2'
defaults: defaults:
run: run:
@@ -22,30 +22,32 @@ jobs:
name: Validator name: Validator
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- id: checkout
name: Checkout
uses: actions/checkout@v4
- id: setup-ruby - id: setup-ruby
name: Setup Ruby name: Setup Ruby
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: ${{ env.RUBY_VERSION }} ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- id: checkout
name: Checkout
uses: actions/checkout@v2
- id: install-gem - id: install-gem
name: Install gem name: Install gem
run: | run: |
gem install awesome_bot gem install awesome_bot --no-document
- id: validate - id: validate
name: Validate name: Validate
continue-on-error: true
run: | run: |
awesome_bot README.md --request-delay 0.5 --allow-timeout --allow-redirect awesome_bot README.md --request-delay 0.5 --allow-timeout --allow-redirect
- id: upload-artifact - id: upload-artifact
name: Upload artifact name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
if: failure() if: ${{ failure() }}
with: with:
if-no-files-found: warn if-no-files-found: warn
name: ab-results name: ab-results
@@ -53,4 +55,3 @@ jobs:
ab-results-README.md.json ab-results-README.md.json
ab-results-README.md-filtered.json ab-results-README.md-filtered.json
ab-results-README.md-markdown-table.json ab-results-README.md-markdown-table.json

View File

@@ -590,6 +590,7 @@ There're also some great commercial libraries, like [amchart](https://www.amchar
## RegExp ## RegExp
* [RegEx101](https://regex101.com/#javascript) - Online regex tester and debugger for JavaScript. Also supports Python, PHP and PCRE. * [RegEx101](https://regex101.com/#javascript) - Online regex tester and debugger for JavaScript. Also supports Python, PHP and PCRE.
* [RegExr](https://regexr.com/) - HTML/JS based tool for creating, testing, and learning about Regular Expressions. * [RegExr](https://regexr.com/) - HTML/JS based tool for creating, testing, and learning about Regular Expressions.
* [Regulex](https://jex.im/regulex/) - JavaScript Regular Expression Parser & Visualizer.
## Voice Command ## Voice Command