Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ecdysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ jobs:
uses: actions/checkout@v4
- name: Build ecdysis
run: make build
lint:
needs: skip-duplicate-jobs
if: needs.skip-duplicate-jobs.outputs.should_skip != 'true'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check formatting and Clippy warnings
run: make lint
test:
needs: skip-duplicate-jobs
if: needs.skip-duplicate-jobs.outputs.should_skip != 'true'
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ build:
$(CARGO) build

.PHONY: tests
tests: fmt-check clippy clippy-tests test doc-private
tests: lint test doc-private

.PHONY: lint
lint: fmt-check clippy clippy-tests

.PHONY: install-cargo-tools
install-cargo-tools:
Expand All @@ -20,6 +23,7 @@ fmt-check: install-cargo-tools
.PHONY: clippy
clippy: install-cargo-tools
$(CARGO) clippy -- \
--deny warnings \
--deny clippy::all \
--deny clippy::todo \
--deny clippy::unimplemented \
Expand Down
1 change: 1 addition & 0 deletions integration_tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.PHONY: clippy-tests rustfmt fmt-check
clippy-tests:
cargo clippy --tests -- \
--deny warnings \
--deny clippy::all \
--deny clippy::todo \
--deny clippy::unimplemented
Expand Down