feat: regex pattern in variables #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: examples | |
on: | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
luaVersion: [ "5.2", "5.3", "5.4", "luajit-2.1.0-beta3", "luajit-openresty" ] | |
steps: | |
- name: checkout source code | |
uses: actions/checkout@v3 | |
- name: install Lua/LuaJIT | |
uses: leafo/gh-actions-lua@v8 | |
with: | |
luaVersion: ${{ matrix.luaVersion }} | |
- name: install LuaRocks | |
uses: leafo/gh-actions-luarocks@v4 | |
- name: install dependencies | |
run: | | |
luarocks install radix-router | |
- name: run examples | |
run: | | |
lua examples/example.lua | |
lua examples/custom-matcher.lua | |
lua examples/regular-expression.lua |