Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into issues/1777-restatect…
Browse files Browse the repository at this point in the history
…l-basics
  • Loading branch information
pcholakov committed Aug 12, 2024
2 parents b0d5d1b + d452b70 commit b8e447f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 26 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,6 @@ on:
- main

jobs:
rustfmt:
name: RustFmt Check
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
rustflags: ""

- name: Check license headers
run: ./tools/scripts/check-license-headers

- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1

build-and-test:
name: Build and test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -79,11 +60,8 @@ jobs:
- name: Check Cargo.lock file is updated
run: cargo update -w --locked

- name: Clippy Check
run: just clippy

- name: Run tests
run: just test
- name: Run verify
run: just verify

docker:
name: Create docker image
Expand Down
2 changes: 1 addition & 1 deletion crates/bifrost/src/bifrost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl Bifrost {
///
/// ```no_run
/// use restate_bifrost::{Bifrost, FindTailAttributes, LogReadStream};
/// use restate_types::logs::{LogId, SequenceNumber};
/// use restate_types::logs::{KeyFilter, LogId, SequenceNumber};
///
/// async fn reader(bifrost: &Bifrost, log_id: LogId) -> LogReadStream {
/// bifrost.create_reader(
Expand Down
6 changes: 5 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,11 @@ generate-config-schema:
cargo xtask generate-config-schema > restate_config_schema.json
check-deny:
cargo deny --all-features check
#!/usr/bin/env bash
# cargo-deny-action runs as a standalone workflow in CI
if [[ -z "$CI" ]]; then
cargo deny --all-features check
fi
flamegraph *flags:
cargo flamegraph {{ _flamegraph_options }} {{ flags }}
Expand Down

0 comments on commit b8e447f

Please sign in to comment.