feat: add skip_validation custom hook for value-level bypass #90
Workflow file for this run
This file contains hidden or 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: ci | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: | |
| - ubuntu-22.04 | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup Lua | |
| uses: leafo/gh-actions-lua@v10 | |
| with: | |
| luaVersion: "5.1.5" | |
| - name: Setup Luarocks | |
| uses: leafo/gh-actions-luarocks@v4 | |
| with: | |
| luarocksVersion: "3.8.0" | |
| - name: Linux Get dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential libncurses5-dev libreadline-dev libssl-dev perl libpcre3-dev | |
| - name: Linux Install | |
| run: | | |
| wget -qO - https://openresty.org/package/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/openresty.gpg | |
| echo "deb [signed-by=/usr/share/keyrings/openresty.gpg] http://openresty.org/package/ubuntu $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/openresty.list | |
| sudo apt-get update | |
| sudo apt-get install -y openresty | |
| - name: Linux Script | |
| run: | | |
| luarocks make rockspec/jsonschema-master-0.rockspec | |
| export PATH=$OPENRESTY_PREFIX/nginx/sbin:$PATH | |
| make test |