-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,32 @@ on: | |
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
schedule: | ||
- cron: '0 6 * * 6' | ||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: crystallang/crystal | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Crystal | ||
uses: oprypin/[email protected] | ||
- name: Install dependencies | ||
run: shards install | ||
- name: Run tests | ||
run: crystal spec | ||
- name: Generate docs | ||
run: crystal doc | ||
- name: Deploy | ||
if: github.ref == 'refs/heads/master' | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: docs | ||
SINGLE_COMMIT: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
name: json-xpath | ||
version: 0.1.2 | ||
version: 0.1.3 | ||
|
||
authors: | ||
- Ali Naqvi <[email protected]> | ||
description: | | ||
Provide XPath support on JSON document | ||
crystal: 0.36.0 | ||
crystal: ">= 0.36.0, < 2.0.0" | ||
|
||
dependencies: | ||
xpath2: | ||
|
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