Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cleanup old ci #78

Merged
merged 4 commits into from
Mar 27, 2024
Merged
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
4 changes: 4 additions & 0 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
with:
submodules: recursive
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Start minio
run: ./ci/minio_start.sh
- run: cargo test --all-features
- name: Stop minio
run: ./ci/minio_stop.sh

# Check formatting with rustfmt
formatting:
Expand Down
22 changes: 9 additions & 13 deletions Development.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
# Development

Uses standard rust toolchain:
## Standard rust toolchain:

Uses the familiar cargo targets: build, test, fmt, clippy

## Testing

```bash
cargo build
./ci/minio_start.sh
cargo test
cargo publish
./ci/minio_stop.sh
```

Linting:
## Releasing

```bash
cargo fmt
cargo clippy --all-features --all-targets --workspace -- -D warnings
cargo tomlfmt -p ./Cargo.toml
```
Leverages [Release-plz](https://github.com/MarcoIeni/release-plz) to build Release PR's.

Or all in one as following:

```bash
./dev/rust_lint.sh
```
1 change: 0 additions & 1 deletion ci/cargo_build.sh

This file was deleted.

1 change: 0 additions & 1 deletion ci/cargo_clippy.sh

This file was deleted.

1 change: 0 additions & 1 deletion ci/cargo_fmt_check.sh

This file was deleted.

1 change: 0 additions & 1 deletion ci/cargo_test.sh

This file was deleted.

9 changes: 0 additions & 9 deletions ci/install_sccache_linux.sh

This file was deleted.

1 change: 0 additions & 1 deletion ci/sccache_show_stats.sh

This file was deleted.

1 change: 0 additions & 1 deletion ci/sccache_start_server.sh

This file was deleted.

1 change: 0 additions & 1 deletion ci/sccache_stop_server.sh

This file was deleted.

29 changes: 0 additions & 29 deletions dev/rust_lint.sh

This file was deleted.