Skip to content

Commit eec43bf

Browse files
authored
Merge pull request #269 from sebadob/prepare-release-v0.21.0-beta2
Prepare release v0.21.0 beta2
2 parents 2fd574f + 2532cca commit eec43bf

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

justfile

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ fmt:
8787
pull-latest-cross:
8888
#!/usr/bin/env bash
8989
docker pull ghcr.io/cross-rs/aarch64-unknown-linux-musl:main
90+
docker pull ghcr.io/cross-rs/x86_64-unknown-linux-musl:main
9091

9192

9293
# clippy with sqlite features
@@ -114,17 +115,14 @@ migrate-postgres:
114115
DATABASE_URL={{db_url_postgres}} sqlx migrate run --source migrations/postgres
115116

116117

117-
# runs the application with sqlite feature with musl target
118+
# runs the application with sqlite feature
118119
run-sqlite:
119-
DATABASE_URL={{db_url_sqlite}} cargo run --target x86_64-unknown-linux-musl --features sqlite
120-
121-
# runs the application with sqlite feature with native target
122-
run-sqlite-native:
123120
DATABASE_URL={{db_url_sqlite}} cargo run --features sqlite
124121

125-
# runs the application with postgres feature with musl target
122+
123+
# runs the application with postgres feature
126124
run-postgres:
127-
DATABASE_URL={{db_url_postgres}} cargo run --target x86_64-unknown-linux-musl
125+
DATABASE_URL={{db_url_postgres}} cargo run
128126

129127

130128
# runs the UI in development mode
@@ -261,9 +259,8 @@ build-sqlite: test-sqlite
261259

262260
cargo clean
263261

264-
# allow clippy warnings for v0.20.0 because of intentionally using deprecated functions
265-
#cargo clippy --features sqlite -- -D warnings
266-
cargo build --release --target x86_64-unknown-linux-musl --features sqlite
262+
cargo clippy --features sqlite -- -D warnings
263+
cross build --release --target x86_64-unknown-linux-musl --features sqlite
267264
cp target/x86_64-unknown-linux-musl/release/rauthy out/rauthy-sqlite-amd64
268265

269266
cargo clean
@@ -278,9 +275,8 @@ build-postgres: test-postgres
278275

279276
cargo clean
280277

281-
# allow clippy warnings for v0.20.0 because of intentionally using deprecated functions
282-
#cargo clippy -- -D warnings
283-
cargo build --release --target x86_64-unknown-linux-musl
278+
cargo clippy -- -D warnings
279+
cross build --release --target x86_64-unknown-linux-musl
284280
cp target/x86_64-unknown-linux-musl/release/rauthy out/rauthy-postgres-amd64
285281

286282
cargo clean

rauthy-main/tests/zzd_handler_clients_dyn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async fn test_dynamic_client() -> Result<(), Box<dyn Error>> {
4949

5050
let res = client.get(&url).send().await?;
5151
// we did not add any registration token.
52-
assert_eq!(res.status(), 400);
52+
assert_eq!(res.status(), 401);
5353

5454
let res = client
5555
.get(&url)

0 commit comments

Comments
 (0)