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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
targets: wasm32v1-none

- name: Build contract
working-directory: contracts
run: cargo build --target wasm32-unknown-unknown --release
run: cargo build --target wasm32v1-none --release

- name: Run contract tests
working-directory: contracts
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/contracts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
targets: wasm32v1-none
components: clippy

- name: Cache Cargo registry and build artifacts
Expand Down Expand Up @@ -62,12 +62,12 @@ jobs:

- name: Build WASM release binary (no testutils)
working-directory: contracts
run: cargo build --target wasm32-unknown-unknown --release --no-default-features
run: cargo build --target wasm32v1-none --release --no-default-features

- name: Verify testutils excluded from release binary
working-directory: contracts
run: |
WASM_FILE=$(find target/wasm32-unknown-unknown/release -name "*.wasm" | head -1)
WASM_FILE=$(find target/wasm32v1-none/release -name "*.wasm" | head -1)
if [ -z "$WASM_FILE" ]; then
echo "ERROR: No WASM file found." >&2
exit 1
Expand All @@ -84,7 +84,7 @@ jobs:
- name: Report WASM binary size
working-directory: contracts
run: |
WASM_FILE=$(find target/wasm32-unknown-unknown/release -name "*.wasm" | head -1)
WASM_FILE=$(find target/wasm32v1-none/release -name "*.wasm" | head -1)
if [ -n "$WASM_FILE" ]; then
SIZE_BYTES=$(wc -c < "$WASM_FILE")
SIZE_KB=$(echo "scale=2; $SIZE_BYTES / 1024" | bc)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
fetch-depth: 0
- name: Check for secrets
uses: gitleaks/gitleaks-action@v2
uses: gitleaks/gitleaks-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/playwright-visual-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ jobs:
- name: Install dependencies
run: npm install

- name: Install frontend dependencies
working-directory: frontend
run: npm ci

- name: Build frontend
working-directory: frontend
run: npm run build

- name: Install Playwright browsers
run: npx playwright install --with-deps

Expand Down
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
{
}
{}
1 change: 0 additions & 1 deletion backend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"ignorePatterns": ["src/services/campaignController.ts"],
"parser": "@typescript-eslint/parser",
"parserOptions": {

"ecmaVersion": 2022,
"sourceType": "module"
},
Expand Down
Loading
Loading