File tree 10 files changed +25
-2
lines changed
scylla-macros/src/serialize
10 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 27
27
options : --health-cmd "cqlsh --username cassandra --password cassandra --debug" --health-interval 5s --health-retries 30
28
28
steps :
29
29
- uses : actions/checkout@v3
30
+ - name : Update rust toolchain
31
+ run : rustup update
30
32
- name : Run tests
31
33
run : RUST_LOG=trace cargo test --verbose authenticate_superuser -- custom_authentication --ignored
Original file line number Diff line number Diff line change 27
27
options : --health-cmd "cqlsh --debug scylladb" --health-interval 5s --health-retries 10
28
28
steps :
29
29
- uses : actions/checkout@v3
30
+ - name : Update rust toolchain
31
+ run : rustup update
30
32
- name : Install mdbook
31
33
run : cargo install mdbook --no-default-features
32
34
- name : Build the project
Original file line number Diff line number Diff line change 25
25
run : |
26
26
docker compose -f test/cluster/cassandra/docker-compose.yml up -d --wait
27
27
# A separate step for building to separate measuring time of compilation and testing
28
+ - name : Update rust toolchain
29
+ run : rustup update
28
30
- name : Build the project
29
31
run : cargo build --verbose --tests --features "full-serialization"
30
32
- name : Run tests on cassandra
Original file line number Diff line number Diff line change 26
26
run : |
27
27
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
28
28
docker compose -f test/cluster/docker-compose.yml up -d --wait
29
+ - name : Update rust toolchain
30
+ run : rustup update
29
31
- name : Print rustc version
30
32
run : rustc --version
31
33
- name : Print rustfmt version
98
100
runs-on : ubuntu-latest
99
101
steps :
100
102
- uses : actions/checkout@v3
103
+ - name : Update rust toolchain
104
+ run : rustup update
101
105
- name : Compile docs
102
106
run : RUSTDOCFLAGS=-Dwarnings cargo doc
Original file line number Diff line number Diff line change 56
56
# I don't know any way to do this using checkout action
57
57
- name : Fetch PR base
58
58
run : git fetch origin "$PR_BASE"
59
+ - name : Update rust toolchain
60
+ run : rustup update
59
61
- name : Install semver-checks
60
62
# Official action uses binary releases fetched from GitHub
61
63
# If this pipeline becomes too slow, we should do this too
@@ -142,6 +144,8 @@ jobs:
142
144
timeout-minutes : 30
143
145
steps :
144
146
- uses : actions/checkout@v3
147
+ - name : Update rust toolchain
148
+ run : rustup update
145
149
- name : Install semver-checks
146
150
run : cargo install cargo-semver-checks --no-default-features
147
151
- name : Run semver-checks to see if it agrees with version updates
Original file line number Diff line number Diff line change 29
29
run : |
30
30
ccm create serverless -i 127.0.1. -n 1 --scylla -v release:5.1.6
31
31
ccm start --sni-proxy --sni-port 7777
32
-
32
+ - name : Update rust toolchain
33
+ run : rustup update
33
34
- name : Check
34
35
run : cargo check --verbose
35
36
- name : Run cloud example
Original file line number Diff line number Diff line change 32
32
working-directory : ./scylla
33
33
steps :
34
34
- uses : actions/checkout@v3
35
+ - name : Update rust toolchain
36
+ run : rustup update
35
37
- name : Check
36
38
run : cargo check --verbose --features "ssl"
37
39
working-directory : ${{env.working-directory}}
Original file line number Diff line number Diff line change
1
+ // See: https://github.com/TedDriggs/darling/issues/293
2
+ #![ allow( clippy:: manual_unwrap_or_default) ]
3
+
1
4
use std:: collections:: HashMap ;
2
5
3
6
use darling:: FromAttributes ;
Original file line number Diff line number Diff line change
1
+ // See: https://github.com/TedDriggs/darling/issues/293
2
+ #![ allow( clippy:: manual_unwrap_or_default) ]
3
+
1
4
use std:: collections:: HashMap ;
2
5
3
6
use darling:: FromAttributes ;
Original file line number Diff line number Diff line change @@ -1826,7 +1826,7 @@ struct StreamIdSet {
1826
1826
1827
1827
impl StreamIdSet {
1828
1828
fn new ( ) -> Self {
1829
- const BITMAP_SIZE : usize = ( std :: i16:: MAX as usize + 1 ) / 64 ;
1829
+ const BITMAP_SIZE : usize = ( i16:: MAX as usize + 1 ) / 64 ;
1830
1830
Self {
1831
1831
used_bitmap : vec ! [ 0 ; BITMAP_SIZE ] . into_boxed_slice ( ) ,
1832
1832
}
You can’t perform that action at this time.
0 commit comments