Skip to content
Open
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
14 changes: 8 additions & 6 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,21 @@ jobs:
run: pnpm test

- name: Build project
env:
CI: false
SKIP_PREFLIGHT_CHECK: true
GENERATE_SOURCEMAP: false
run: pnpm build

- name: Setup Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: stable
profile: minimal
override: true
targets: wasm32-unknown-unknown

- name: Build Contracts
run: |
cargo build --release --manifest-path ./contracts/credit-score/Cargo.toml
cargo build --release --manifest-path ./contracts/fraud-detect/Cargo.toml
cargo build --release --target wasm32-unknown-unknown --manifest-path ./contracts/credit-score/Cargo.toml
cargo build --release --target wasm32-unknown-unknown --manifest-path ./contracts/fraud-detect/Cargo.toml

- name: Test Contracts
run: |
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/blockchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: stable
profile: minimal
override: true
targets: wasm32-unknown-unknown

- name: Run cargo check for credit-score
run: cd contracts/credit-score && cargo check
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ jobs:
run: cd backend && pnpm prisma:generate

- name: Build packages
env:
CI: false
SKIP_PREFLIGHT_CHECK: true
GENERATE_SOURCEMAP: false
run: pnpm run build

- name: Upload build artifacts
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,8 @@ jobs:
run: pnpm --filter frontend test || true

- name: Build frontend
env:
CI: false
SKIP_PREFLIGHT_CHECK: true
GENERATE_SOURCEMAP: false
run: pnpm --filter frontend build
4 changes: 4 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ jobs:
run: pnpm install

- name: Build packages
env:
CI: false
SKIP_PREFLIGHT_CHECK: true
GENERATE_SOURCEMAP: false
run: pnpm build

- name: Run integration tests
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@ jobs:
uses: pnpm/action-setup@v4

- name: Setup Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: stable
override: true
targets: wasm32-unknown-unknown

- name: Run Rust tests
run: pnpm blockchain:test
4 changes: 2 additions & 2 deletions contracts/credit-score/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "21.0.0"
soroban-sdk = "22.0.0"

[dev-dependencies]
soroban-sdk = { version = "21.0.0", features = ["testutils"] }
soroban-sdk = { version = "22.0.0", features = ["testutils"] }

[profile.release]
opt-level = "z"
Expand Down
4 changes: 2 additions & 2 deletions contracts/fraud-detect/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "21.0.0"
soroban-sdk = "22.0.0"

[dev-dependencies]
soroban-sdk = { version = "21.0.0", features = ["testutils"] }
soroban-sdk = { version = "22.0.0", features = ["testutils"] }

[profile.release]
opt-level = "z"
Expand Down
4 changes: 2 additions & 2 deletions contracts/governance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ timelock = []
upgrades = []

[dependencies]
soroban-sdk = "21.0.0"
soroban-sdk = "22.0.0"

[dev-dependencies]
soroban-sdk = { version = "21.0.0", features = ["testutils"] }
soroban-sdk = { version = "22.0.0", features = ["testutils"] }

[profile.release]
opt-level = "z"
Expand Down
3 changes: 3 additions & 0 deletions contracts/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "nightly"
targets = ["wasm32-unknown-unknown"]
2 changes: 1 addition & 1 deletion frontend/i18next-scanner.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
supportBasicHtmlNodes: true,
keepBasicHtmlNodesFor: ['br', 'strong', 'i', 'em', 'span']
},
lngs: ['en', 'es', 'zh'],
lngs: ['en', 'es', 'zh', 'ar'],
fallbackLng: 'en',
ns: ['translation'],
defaultNs: 'translation',
Expand Down
2 changes: 1 addition & 1 deletion frontend/scripts/validate-translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const path = require('path');

// Configuration
const LOCALES_DIR = path.join(__dirname, '../src/locales');
const SUPPORTED_LANGUAGES = ['en', 'es', 'zh'];
const SUPPORTED_LANGUAGES = ['en', 'es', 'zh', 'ar'];

// Colors for console output
const colors = {
Expand Down
Loading
Loading