Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
z-tech committed Sep 25, 2023
1 parent b5c3f1d commit 53babfb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,17 @@ jobs:
filters: |
mnt6_753_is_updated:
- 'mnt6_753/**'
- name: Check if dependenies have been updated
id: depencies-updated
- name: Check if dependenies are same as previous build
id: depencies-not-updated
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: mnt6_753-dependencies-updated-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
key: mnt6_753-dependencies-not-updated-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') && hashFiles('**/Cargo.lock') || $(date +%s) }}
- name: Run tests
if: ${{ steps.checkdiff.outputs.mnt6_753_is_updated == 'true' || steps.depencies-updated.outputs.depencies-updated == 'true' }}
if: ${{ steps.checkdiff.outputs.mnt6_753_is_updated == 'true' || steps.depencies-not-updated.outputs.depencies-not-updated == 'false' }}
run: |
cd mnt6_753/
cargo test --all-features
Expand Down

0 comments on commit 53babfb

Please sign in to comment.