Skip to content

Commit

Permalink
Update hidden dir to be ignored by graph-parser
Browse files Browse the repository at this point in the history
Also bump to 0.9.8
  • Loading branch information
logseq-cldwalker committed May 26, 2023
1 parent 232131e commit fb2bfd0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
uses: actions/checkout@v3
with:
repository: logseq/graph-validator
path: _graph-validator
path: .logseq-graph-validator

- name: Set up Clojure
uses: DeLaGuardo/setup-clojure@master
Expand All @@ -30,10 +30,10 @@ runs:
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: _graph-validator/yarn.lock
cache-dependency-path: .logseq-graph-validator/yarn.lock

- name: Fetch yarn deps
run: cd _graph-validator && yarn install --immutable
run: cd .logseq-graph-validator && yarn install --immutable
shell: bash

- name: Nbb cache
Expand All @@ -43,15 +43,15 @@ runs:
path: |
~/.m2/repository
~/.gitlibs
_graph-validator/.nbb/.cache
key: ${{ runner.os }}-nbb-deps-${{ hashFiles('_graph-validator/nbb.edn') }}
.logseq-graph-validator/.nbb/.cache
key: ${{ runner.os }}-nbb-deps-${{ hashFiles('.logseq-graph-validator/nbb.edn') }}
restore-keys: ${{ runner.os }}-nbb-deps-

- name: Fetch nbb deps
if: steps.nbb-deps.outputs.cache-hit != 'true'
run: cd _graph-validator && yarn nbb-logseq -e ':fetching-deps'
run: cd .logseq-graph-validator && yarn nbb-logseq -e ':fetching-deps'
shell: bash

- name: Run nbb tests
run: cd _graph-validator && node graph_validator.mjs --directory ${{ inputs.directory }} --exclude ${{ inputs.exclude }}
run: cd .logseq-graph-validator && node graph_validator.mjs --directory ${{ inputs.directory }} --exclude ${{ inputs.exclude }}
shell: bash
3 changes: 2 additions & 1 deletion nbb.edn
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{:deps
{logseq/graph-parser
{:git/url "https://github.com/logseq/logseq"
:git/sha "51a23934a40edd378c067e63136e50d1b7f17c2d"
:git/sha "82cf4d3c65acbf230a3170640fe271dd74095067"
:git/tag "0.9.8"
:deps/root "deps/graph-parser"}
#_{:local/root "../logseq/deps/graph-parser"}}}

0 comments on commit fb2bfd0

Please sign in to comment.