Skip to content

Commit

Permalink
Remove examples from workspace (#140)
Browse files Browse the repository at this point in the history
* Remove example from workspace.

* Add manifest to examples directory.

* Ignore lockfile for examples.

* Fix path.

* Fix dependencies.

* Add examples to CI.

* Regenerate lockfile.

* Change version of unpublished crates to 0.0.0.
  • Loading branch information
adlerjohn authored Jan 18, 2022
1 parent 82bfb4d commit 5c10ecc
Show file tree
Hide file tree
Showing 12 changed files with 346 additions and 1,320 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,30 @@ jobs:
command: test
args: --verbose --all-targets

- name: Check formatting (examples)
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path examples/Cargo.toml --all --verbose -- --check

- name: Check build (examples)
uses: actions-rs/cargo@v1
with:
command: check
args: --manifest-path examples/Cargo.toml --verbose --all-targets

- name: Check Clippy Lints (examples)
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path examples/Cargo.toml --verbose --all-targets

- name: Run tests (examples)
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path examples/Cargo.toml --verbose --all-targets

publish:
# Only do this job if publishing a release
needs: build
Expand Down
Loading

0 comments on commit 5c10ecc

Please sign in to comment.