From aaf8090001224af643b0eb673a46e2b8780d638f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 04:01:48 +0000 Subject: [PATCH 1/3] Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index bf133e9e..0b4582b6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -11,7 +11,7 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install cargo-release uses: taiki-e/install-action@v2 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0f333f2..330190b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: name: "Continuous Integration / lint" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 - name: Build run: cargo build --workspace --all-features @@ -32,7 +32,7 @@ jobs: name: "Continuous Integration / test" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 - name: Run tests for no features run: cargo test --all From 7f9bb8eaf6a378774ebc0fb5b18d8046ad33fda1 Mon Sep 17 00:00:00 2001 From: "mae.kasza" <26093674+MaeIsBad@users.noreply.github.com> Date: Tue, 5 Sep 2023 11:24:09 +0200 Subject: [PATCH 2/3] Fix failing tests --- veil-tests/src/compile_tests/succeed.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/veil-tests/src/compile_tests/succeed.rs b/veil-tests/src/compile_tests/succeed.rs index 0c6ae589..934c305d 100644 --- a/veil-tests/src/compile_tests/succeed.rs +++ b/veil-tests/src/compile_tests/succeed.rs @@ -243,6 +243,7 @@ fn test_redact_multiple_attributes() { #[redact] #[serde(default)] bool, + #[serde(default)] bool, ); @@ -253,6 +254,7 @@ fn test_redact_multiple_attributes() { #[serde(default)] #[redact(partial)] bool, + #[serde(default)] bool, ); From e33b8f484f4e5900bc4c9b7ae915924d64b14145 Mon Sep 17 00:00:00 2001 From: "mae.kasza" <26093674+MaeIsBad@users.noreply.github.com> Date: Tue, 5 Sep 2023 11:44:13 +0200 Subject: [PATCH 3/3] Format --- veil-tests/src/compile_tests/succeed.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/veil-tests/src/compile_tests/succeed.rs b/veil-tests/src/compile_tests/succeed.rs index 934c305d..80b83c78 100644 --- a/veil-tests/src/compile_tests/succeed.rs +++ b/veil-tests/src/compile_tests/succeed.rs @@ -243,8 +243,7 @@ fn test_redact_multiple_attributes() { #[redact] #[serde(default)] bool, - #[serde(default)] - bool, + #[serde(default)] bool, ); #[derive(Serialize, Deserialize, Redact, RandGen)] @@ -254,8 +253,7 @@ fn test_redact_multiple_attributes() { #[serde(default)] #[redact(partial)] bool, - #[serde(default)] - bool, + #[serde(default)] bool, ); #[derive(Serialize, Deserialize, Redact, RandGen)]