diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 3543694..2bf1fc1 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Start RabbitMQ server run: ./start_rabbitmq.sh @@ -33,7 +33,7 @@ jobs: # runs-on: macos-11 # steps: - # - uses: actions/checkout@v3 + # - uses: actions/checkout@v4 # - uses: docker-practice/actions-setup-docker@master # - name: Start RabbitMQ server diff --git a/.github/workflows/regression_test.yml b/.github/workflows/regression_test.yml index 1e9c979..704dcc0 100644 --- a/.github/workflows/regression_test.yml +++ b/.github/workflows/regression_test.yml @@ -1,9 +1,11 @@ name: ci run-name: "Regression Test" -# on: [push, workflow_dispatch] on: + schedule: + - cron: '30 1 * * *' + push: branches: ["main"] paths-ignore: @@ -12,6 +14,7 @@ on: - 'rabbitmq_spec/**' - 'prepare_release.sh' - 'regression_test.sh' + workflow_dispatch: pull_request: @@ -31,7 +34,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - name: Check rust version + run: rustc -V; cargo -V; rustup -V - name: cargo build (debug, all-features) run: cargo build --all-features --verbose @@ -48,7 +54,7 @@ jobs: - stable - 1.56 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -63,7 +69,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Start RabbitMQ server run: ./start_rabbitmq.sh @@ -84,7 +90,10 @@ jobs: - -F urispec - --all-features --release steps: - - uses: actions/checkout@v3 + - name: Check rust version + run: rustc -V; cargo -V; rustup -V + + - uses: actions/checkout@v4 - name: Start RabbitMQ server run: ./start_rabbitmq.sh diff --git a/.github/workflows/test_coverage.yml b/.github/workflows/test_coverage.yml index 0d5de6e..8ed1199 100644 --- a/.github/workflows/test_coverage.yml +++ b/.github/workflows/test_coverage.yml @@ -30,7 +30,7 @@ jobs: # codecov: # runs-on: ubuntu-latest # steps: - # - uses: actions/checkout@v3 + # - uses: actions/checkout@v4 # - name: Start RabbitMQ server # run: ./start_rabbitmq.sh # - name: Cargo test instrumented @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Start RabbitMQ server run: ./start_rabbitmq.sh - name: Install rust toolchain diff --git a/amqprs/src/api/channel/mod.rs b/amqprs/src/api/channel/mod.rs index 20a11f6..1732306 100644 --- a/amqprs/src/api/channel/mod.rs +++ b/amqprs/src/api/channel/mod.rs @@ -482,4 +482,5 @@ pub use basic::*; pub use confim::*; pub use exchange::*; pub use queue::*; +#[allow(unused_imports)] // clippy false positive pub use tx::*; diff --git a/amqprs/src/frame/method/mod.rs b/amqprs/src/frame/method/mod.rs index 9d99ea8..42c0fe7 100644 --- a/amqprs/src/frame/method/mod.rs +++ b/amqprs/src/frame/method/mod.rs @@ -11,7 +11,6 @@ mod exchange; mod queue; mod tx; -pub use access::*; pub use basic::*; pub use channel::*; pub use confirm::*;