Skip to content

Commit f7b0fde

Browse files
committed
ci: use released jsonschema v0.9.10 instead of git overlay
1 parent a52b7c4 commit f7b0fde

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,8 @@ jobs:
3434
3535
- name: Install Lua dependencies
3636
run: |
37-
sudo luarocks install jsonschema
37+
sudo luarocks install https://raw.githubusercontent.com/api7/jsonschema/v0.9.10/rockspec/jsonschema-0.9.10-0.rockspec
3838
sudo luarocks install lua-resty-radixtree
39-
# Overlay latest jsonschema source for new format validators (uuid, date, date-time, uri)
40-
git clone --depth 1 https://github.com/api7/jsonschema.git /tmp/jsonschema
41-
JSONSCHEMA_PATH=$(find /usr -name "jsonschema.lua" -path "*/share/lua/*" | head -1)
42-
sudo cp /tmp/jsonschema/lib/jsonschema.lua "$JSONSCHEMA_PATH"
4339
4440
- name: Run tests
4541
run: |

0 commit comments

Comments
 (0)