Skip to content

Commit

Permalink
Use diff instead of rm/cp/git diff
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottt committed Aug 18, 2023
1 parent 9687e28 commit 2a3e90f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,9 @@ jobs:

# Ensure wit definitions are in sync: both wasmtime-wasi and wasmtime-wasi-http need their own
# copy of the wit definitions so publishing works, but we need to ensure they are identical copies.
- name: Check wasi and wasi-http wit directories
- name: Check that the wasi and wasi-http wit directories agree
run: |
rm -rf 'crates/wasi-http/wit'
cp -rv 'crates/wasi/wit/' 'crates/wasi-http/wit/'
git diff --exit-code --diff-filter=ADM -- 'crates/wasi-http/wit/'
diff -ru crates/wasi/wit crates/wasi-http/wit
# Build and test all features
- run: ./ci/run-tests.sh --locked
Expand Down

0 comments on commit 2a3e90f

Please sign in to comment.