Skip to content

Commit

Permalink
chore(ci): improve
Browse files Browse the repository at this point in the history
  • Loading branch information
williamfzc committed Apr 18, 2024
1 parent 164f528 commit 0dc194a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/cargo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Cache Cargo dependencies
uses: actions/cache@v2
with:
path: ~/.cargo
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Build
run: cargo build --verbose
- name: Run tests
Expand All @@ -35,13 +42,13 @@ jobs:
cp ./target/debug/gossiphs ./gossiphs
cd tree-sitter
../gossiphs interactive --dry
time ../gossiphs interactive --dry
cd ..
cd typescript-eslint
../gossiphs interactive --dry
time ../gossiphs interactive --dry
cd ..
cd gin
../gossiphs interactive --dry
time ../gossiphs interactive --dry
cd ..

0 comments on commit 0dc194a

Please sign in to comment.