Skip to content

Commit

Permalink
Merge dbc00d6 into 86dd84c
Browse files Browse the repository at this point in the history
  • Loading branch information
Licenser committed Feb 5, 2021
2 parents 86dd84c + dbc00d6 commit 3769b27
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/checks/vsn.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
LOCK_DIFF="$(git diff Cargo.lock | wc -l)"

if [ "${LOCK_DIFF}" -ne "0" ]
then
echo "Build changed the lock file"
exit 1
fi
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
profile: minimal
- name: Run tests
run: cargo test --all
- name: Validate lockfile
run: .github/checks/vsn.sh
code-coverage:
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
name = "tremor-runtime"
readme = "README.md"
repository = "https://github.com/tremor-rs/tremor-runtime"
version = "0.9.4"
version = "0.9.3"

[workspace]

Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ chk:
dep-list:
@cargo tree --all | sed -e 's/[^a-z]*\([a-z]\)/\1/' | sort -u

clippy:
touch */src/lib.rs && \
touch src/lib.rs && \
touch */src/main.rs && \
cargo clippy --all

###############################################################################

# eg: builder-image-x86_64-unknown-linux-gnu
Expand Down

0 comments on commit 3769b27

Please sign in to comment.