fix: clippy byte_char_slices lint, Docker java artifact path

This commit is contained in:
loki5512344 2026-07-21 16:34:30 +02:00
parent 997da7fbd3
commit 35d20e97db
Signed by: boba
GPG key ID: 253067914055423B
3 changed files with 1 additions and 3 deletions

View file

@ -5,6 +5,5 @@ target/
*.md *.md
docs/ docs/
crates/*/target/ crates/*/target/
plugins/*/build/
plugins/*/.gradle/ plugins/*/.gradle/
plugins/.gradle/ plugins/.gradle/

View file

@ -91,7 +91,6 @@ jobs:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
name: rampart-java-plugins name: rampart-java-plugins
path: plugins/
- name: Build edge - name: Build edge
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:

View file

@ -2,7 +2,7 @@ use crate::pow::challenge::Challenge;
use sha2::{Digest, Sha256}; use sha2::{Digest, Sha256};
use subtle::ConstantTimeEq; use subtle::ConstantTimeEq;
const ALLOWED: [u8; 4] = [b'0', b'1', b'2', b'3']; const ALLOWED: [u8; 4] = *b"0123";
pub fn verify(challenge: &mut Challenge, nonce: &str) -> bool { pub fn verify(challenge: &mut Challenge, nonce: &str) -> bool {
if challenge.used { if challenge.used {