Skip to content

Commit

Permalink
Test build (#2425)
Browse files Browse the repository at this point in the history
* Revert "chore(deps): bump raptorq from 1.8.1 to 2.0.0 in /rust (#2372)"

This reverts commit d31f553.

* fix: allow ded_code

* fix: permission for semantic workflow

* fix: clippy

* fix: change semantic permission to write

* fix: change token usage

* fix: pull_request event

* fix: add concurency

* fix: add actor

* fix: lint problem

* fix: change signing cecrt

* fix: change appfile

* change team id

* fix: semantic triggers

* fix: change actors

* fix: remove unnecessary changes

* fix: return semantic run back

* fix: temp add stepanLav

---------

Co-authored-by: valentunn <[email protected]>
  • Loading branch information
stepanLav and valentunn authored Feb 3, 2025
1 parent adda1d3 commit 2587f2c
Show file tree
Hide file tree
Showing 18 changed files with 56 additions and 12 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: E2E Test

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/android-app.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build android app

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Release android app

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
workflow_dispatch:
jobs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Check links and Publish Docs

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust-cargo-deny.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Check cargo deny

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Rust clippy

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust-fmt.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Rustfmt

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust-test-android.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Rust backend test for android

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust-test-ios.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Rust backend test for ios

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
push:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
name: Semantic PR

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions:
pull-requests: write

jobs:
main:
# By default, these PR titles are allowed:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testflight-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
distribute_testflight:
if: contains('["krodak","prybalko"]', github.actor)
if: contains('["krodak","ERussel","stepanLav"]', github.actor)
runs-on: macos-13
name: Distribute TestFlight Production Build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testflight-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
distribute_testflight:
if: contains('["krodak","prybalko"]', github.actor)
if: contains('["krodak","ERussel","stepanLav"]', github.actor)
runs-on: macos-13
name: Distribute TestFlight QA Build

Expand Down
10 changes: 5 additions & 5 deletions ios/PolkadotVault.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3220,10 +3220,10 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = accent_pink300;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"PolkadotVault/Preview Content\"";
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = QXCVVJ6654;
ENABLE_BITCODE = NO;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = PolkadotVault/Info.plist;
Expand Down Expand Up @@ -3255,7 +3255,7 @@
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 4GK8JWU7P9;
DEVELOPMENT_TEAM = QXCVVJ6654;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
INFOPLIST_FILE = PolkadotVaultTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -3280,7 +3280,7 @@
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = P2PX3JU8FT;
DEVELOPMENT_TEAM = QXCVVJ6654;
INFOPLIST_FILE = PolkadotVaultTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -3398,7 +3398,7 @@
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 4GK8JWU7P9;
DEVELOPMENT_TEAM = QXCVVJ6654;
INFOPLIST_FILE = PolkadotVaultTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down
2 changes: 1 addition & 1 deletion ios/fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app_identifier "io.parity.NativeSigner"
apple_id "krzysztof@novasama.io"
apple_id "stepan@novasama.io"
team_name "Novasama Technologies GmbH"
team_id "QXCVVJ6654"
4 changes: 2 additions & 2 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions rust/generate_message/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ impl std::fmt::Display for Changed {
///
/// Expected to receive data in hexadecimal format, got something different.
/// [`NotHexActive`] specifies what was expected.
#[allow(dead_code)]
#[derive(Debug)]
pub enum NotHexActive {
/// Network genesis hash, fetched through RPC call.
Expand Down
2 changes: 1 addition & 1 deletion rust/qr_reader_phone/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"

[dependencies]
hex = "0.4.3"
raptorq = "2.0.0"
raptorq = "1.8.1"
nom = "7.1.3"
thiserror = "1.0.57"
constants = {path = "../constants"}
Expand Down
2 changes: 1 addition & 1 deletion rust/qrcode_rtx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2018"
[dependencies]
bitvec = "1.0.1"
hex = "0.4.3"
raptorq = "2.0.0"
raptorq = "1.8.1"
qrcodegen = "1.8.0"
png = "0.17.13"

Expand Down

0 comments on commit 2587f2c

Please sign in to comment.