Skip to content

Update workflow version #1025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- '**/README.md'

env:
TARPAULIN_VERSION: 0.31.0
TARPAULIN_VERSION: 0.32.7

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: [self-hosted]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install toolchain
Expand All @@ -37,9 +37,11 @@ jobs:
tar -zxvf cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz -C $HOME/.cargo/bin
make Cargo.toml
cargo update
cargo update base64ct --precise 1.6.0 # 1.8.0 requires the Cargo feature called `edition2024`
cargo tarpaulin --verbose --no-fail-fast --workspace --timeout 300 --out Xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Update
run: |
cargo update
cargo update base64ct --precise 1.6.0 # 1.8.0 requires the Cargo feature called `edition2024`
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Check for Wasm
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/zepter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
uses: dtolnay/rust-toolchain@nightly
- name: Install Zepter
run: cargo install zepter --version 0.15.0 --locked -q -f --no-default-features && zepter --version
- run: make Cargo.toml
- run: cargo update
- run: |
make Cargo.toml
cargo update
cargo update base64ct --precise 1.6.0 # 1.8.0 requires the Cargo feature called `edition2024`
- name: Check Rust features
run: make dev-features-check
10 changes: 5 additions & 5 deletions asset-registry/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ fn send_self_parachain_asset_to_sibling() {
});

ParaB::execute_with(|| {
assert_eq!(ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &BOB), 460);
assert_eq!(ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &BOB), 450);
assert_eq!(
ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &treasury_account()),
40
50
);
});
}
Expand Down Expand Up @@ -247,12 +247,12 @@ fn send_sibling_asset_to_non_reserve_sibling() {
);
assert_eq!(
ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &sibling_c_account()),
460
450
);
});

ParaC::execute_with(|| {
assert_eq!(ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &BOB), 420);
assert_eq!(ParaTokens::free_balance(CurrencyId::RegisteredAsset(1), &BOB), 400);
});
}

Expand Down Expand Up @@ -342,7 +342,7 @@ fn test_fixed_rate_asset_trader() {
));
});

let expected_fee = 40;
let expected_fee = 50;
let expected_transfer_1_amount = 500 - expected_fee;
ParaB::execute_with(|| {
assert_eq!(
Expand Down
2 changes: 1 addition & 1 deletion xtokens/src/mock/para.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ parameter_type_with_key! {
pub ParachainMinFee: |location: Location| -> Option<u128> {
#[allow(clippy::match_ref_pats)] // false positive
match (location.parents, location.first_interior()) {
(1, Some(Parachain(3))) => Some(40),
(1, Some(Parachain(3))) => Some(50),
_ => None,
}
};
Expand Down
4 changes: 2 additions & 2 deletions xtokens/src/mock/para_relative_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ parameter_type_with_key! {
pub ParachainMinFee: |location: Location| -> Option<u128> {
#[allow(clippy::match_ref_pats)] // false positive
match (location.parents, location.first_interior()) {
(1, Some(Parachain(2))) => Some(40),
(1, Some(Parachain(3))) => Some(40),
(1, Some(Parachain(2))) => Some(50),
(1, Some(Parachain(3))) => Some(50),
_ => None,
}
};
Expand Down
Loading