File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ push :
4+ branches : [ master ]
5+ pull_request :
6+ branches : [ master ]
7+ jobs :
8+ build :
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ platform :
13+ - ubuntu-18.04
14+ runs-on : ${{ matrix.platform }}
15+ steps :
16+ - name : Check out
17+ uses : actions/checkout@v2
18+ with :
19+ submodules : recursive
20+ - name : Linux Get dependencies
21+ run : sudo apt install -y build-essential libncurses5-dev libreadline-dev libssl-dev perl luarocks
22+
23+ - name : Linux Before install
24+ run : |
25+ sudo luarocks install luacheck
26+
27+ - name : Linux Install
28+ run : |
29+ wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
30+ sudo apt-get -y install software-properties-common
31+ sudo add-apt-repository -y "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main"
32+ sudo apt-get update
33+ sudo apt-get install openresty
34+
35+ - name : Linux Script
36+ run : |
37+ sudo luarocks install rockspec/jsonschema-master-0.rockspec
38+ export PATH=$OPENRESTY_PREFIX/nginx/sbin:$PATH
39+ make test
Original file line number Diff line number Diff line change 33test * .lua
44go
55\. *
6+ ! .github /
67deps
You can’t perform that action at this time.
0 commit comments