Skip to content

Commit

Permalink
Ci/update (#122)
Browse files Browse the repository at this point in the history
* Check rustc version
* Update github actions version
* Fix clippy for rustc 1.75
* Schedule daily run.
  • Loading branch information
gftea authored Jan 30, 2024
1 parent 8207bed commit 2559eb3
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/regression_test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: ci
run-name: "Regression Test"

# on: [push, workflow_dispatch]

on:
schedule:
- cron: '30 1 * * *'

push:
branches: ["main"]
paths-ignore:
Expand All @@ -12,6 +14,7 @@ on:
- 'rabbitmq_spec/**'
- 'prepare_release.sh'
- 'regression_test.sh'

workflow_dispatch:

pull_request:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions amqprs/src/api/channel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
1 change: 0 additions & 1 deletion amqprs/src/frame/method/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ mod exchange;
mod queue;
mod tx;

pub use access::*;
pub use basic::*;
pub use channel::*;
pub use confirm::*;
Expand Down

0 comments on commit 2559eb3

Please sign in to comment.