Skip to content

Commit 2fd6442

Browse files
authored
Update workflow version (#1025)
* update workflow version * add workaround * add workaround * fix * fix
1 parent b726618 commit 2fd6442

File tree

7 files changed

+78
-73
lines changed

7 files changed

+78
-73
lines changed

.github/workflows/coverage.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- '**/README.md'
1515

1616
env:
17-
TARPAULIN_VERSION: 0.31.0
17+
TARPAULIN_VERSION: 0.32.7
1818

1919
concurrency:
2020
group: ${{ github.workflow }}-${{ github.ref }}
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: [self-hosted]
2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
with:
3131
submodules: recursive
3232
- name: Install toolchain
@@ -37,9 +37,11 @@ jobs:
3737
tar -zxvf cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz -C $HOME/.cargo/bin
3838
make Cargo.toml
3939
cargo update
40+
cargo update base64ct --precise 1.6.0 # 1.8.0 requires the Cargo feature called `edition2024`
4041
cargo tarpaulin --verbose --no-fail-fast --workspace --timeout 300 --out Xml
4142
- name: Upload to codecov.io
42-
uses: codecov/codecov-action@v3
43+
uses: codecov/codecov-action@v5
4344
with:
44-
token: ${{ secrets.CODECOV_TOKEN }}
4545
fail_ci_if_error: true
46+
env:
47+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- name: Update
3737
run: |
3838
cargo update
39+
cargo update base64ct --precise 1.6.0 # 1.8.0 requires the Cargo feature called `edition2024`
3940
- name: Run clippy
4041
run: cargo clippy -- -D warnings
4142
- name: Check for Wasm

.github/workflows/zepter.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
uses: dtolnay/rust-toolchain@nightly
2828
- name: Install Zepter
2929
run: cargo install zepter --version 0.15.0 --locked -q -f --no-default-features && zepter --version
30-
- run: make Cargo.toml
31-
- run: cargo update
30+
- run: |
31+
make Cargo.toml
32+
cargo update
33+
cargo update base64ct --precise 1.6.0 # 1.8.0 requires the Cargo feature called `edition2024`
3234
- name: Check Rust features
3335
run: make dev-features-check

asset-registry/src/tests.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ fn send_self_parachain_asset_to_sibling() {
147147
});
148148

149149
ParaB::execute_with(|| {
150-
assert_eq!(ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &BOB), 460);
150+
assert_eq!(ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &BOB), 450);
151151
assert_eq!(
152152
ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &treasury_account()),
153-
40
153+
50
154154
);
155155
});
156156
}
@@ -247,12 +247,12 @@ fn send_sibling_asset_to_non_reserve_sibling() {
247247
);
248248
assert_eq!(
249249
ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &sibling_c_account()),
250-
460
250+
450
251251
);
252252
});
253253

254254
ParaC::execute_with(|| {
255-
assert_eq!(ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &BOB), 420);
255+
assert_eq!(ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &BOB), 400);
256256
});
257257
}
258258

@@ -342,7 +342,7 @@ fn test_fixed_rate_asset_trader() {
342342
));
343343
});
344344

345-
let expected_fee = 40;
345+
let expected_fee = 50;
346346
let expected_transfer_1_amount = 500 - expected_fee;
347347
ParaB::execute_with(|| {
348348
assert_eq!(

xtokens/src/mock/para.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ parameter_type_with_key! {
244244
pub ParachainMinFee: |location: Location| -> Option<u128> {
245245
#[allow(clippy::match_ref_pats)] // false positive
246246
match (location.parents, location.first_interior()) {
247-
(1, Some(Parachain(3))) => Some(40),
247+
(1, Some(Parachain(3))) => Some(50),
248248
_ => None,
249249
}
250250
};

xtokens/src/mock/para_relative_view.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ parameter_type_with_key! {
359359
pub ParachainMinFee: |location: Location| -> Option<u128> {
360360
#[allow(clippy::match_ref_pats)] // false positive
361361
match (location.parents, location.first_interior()) {
362-
(1, Some(Parachain(2))) => Some(40),
363-
(1, Some(Parachain(3))) => Some(40),
362+
(1, Some(Parachain(2))) => Some(50),
363+
(1, Some(Parachain(3))) => Some(50),
364364
_ => None,
365365
}
366366
};

0 commit comments

Comments
 (0)