Skip to content
Open
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
65e5f6d
feat: update rust lint and test job
nb-ccd Jul 24, 2025
0033622
fix: run build and test workflows if the sdk changes
nb-ccd Jul 24, 2025
bb6efcf
fix: cause linter to pass
nb-ccd Jul 24, 2025
d861d1f
fix: remove dummy changes in Rust files
nb-ccd Jul 24, 2025
d0cbda0
wip: refactor to run single job
nb-ccd Jul 29, 2025
643ed00
fix: correct cargo.toml casing
nb-ccd Jul 29, 2025
bfc46cc
fix: correct step name, remove debug output
nb-ccd Jul 29, 2025
422ed0e
fix: update dockerfiles to run Rust builds from workspace root
nb-ccd Jul 29, 2025
c3ecbdb
fix: update dockerfiles
nb-ccd Jul 29, 2025
c2e566e
chore: dummy commit to trigger CI
nb-ccd Jul 29, 2025
07044a0
fix: add lint/fmt instructions for cis2-marketplace dapp
nb-ccd Jul 31, 2025
c5afbeb
fix: move rustfmt, revert unneeded version change
nb-ccd Aug 4, 2025
7f30fd3
fix: matrix build for smart contracts
nb-ccd Aug 5, 2025
ea6dc4b
fix: move rustfmt.toml since it makes build fail at top level, commit…
nb-ccd Aug 5, 2025
6d95057
fix: workspace declaration for cis2-market
nb-ccd Aug 5, 2025
911ac78
fix: remove unused smart contract profile
nb-ccd Aug 5, 2025
edca9e6
fix
allanbrondum Aug 5, 2025
5385f50
fix
allanbrondum Aug 5, 2025
486cbf5
fix
allanbrondum Aug 5, 2025
a59dcd4
rename
allanbrondum Aug 5, 2025
a7dadc7
remove draft checks in ci
allanbrondum Aug 5, 2025
9dd22cf
use patch
allanbrondum Aug 6, 2025
36b67c8
merge
allanbrondum Aug 6, 2025
6cf958d
fix
allanbrondum Aug 6, 2025
1b3a5ab
fx
allanbrondum Aug 6, 2025
432c88a
fix
allanbrondum Aug 6, 2025
ec70ebb
fix
allanbrondum Aug 6, 2025
0c176ec
fix
allanbrondum Aug 6, 2025
9ee6b14
fix
allanbrondum Aug 6, 2025
7accc9f
fix
allanbrondum Aug 6, 2025
46d4e73
doc
allanbrondum Aug 7, 2025
817d2c1
resolver3
allanbrondum Aug 15, 2025
50b58ce
use newer nightly version for formatting
allanbrondum Aug 15, 2025
22c8e18
revert
allanbrondum Aug 15, 2025
e2360c5
rollback
allanbrondum Aug 15, 2025
b76d68b
Merge branch 'main' of github.com:Concordium/concordium-dapp-examples…
allanbrondum Aug 25, 2025
da4337c
cleanup
allanbrondum Aug 25, 2025
5eafd1f
fmt with stable
allanbrondum Aug 25, 2025
92d2e80
reintroduceprofile
allanbrondum Aug 25, 2025
672ea81
fix docker build changes check
allanbrondum Aug 25, 2025
ad1e662
remove documentation about submodules and nightly toolchain
allanbrondum Aug 25, 2025
85e8938
Merge branch 'main' of github.com:Concordium/concordium-dapp-examples…
allanbrondum Sep 8, 2025
2023f46
fix naming
allanbrondum Sep 8, 2025
58e7091
fix
allanbrondum Sep 9, 2025
b6355c0
fix
allanbrondum Sep 9, 2025
fc6bebc
track and trace common
allanbrondum Sep 9, 2025
60675d0
fix
allanbrondum Sep 10, 2025
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
9 changes: 2 additions & 7 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Build Docker Containers
name: "Docker: build images"

on:
push:
branches: main

pull_request:
branches: main
paths:
- 'compliant-reward-distribution/**'
- 'euroe-demo/**'
Expand All @@ -29,7 +28,6 @@ env:
jobs:
changes:
name: detect what files changed
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
# Map the output from the steps below to output for the job as a whole
outputs:
Expand Down Expand Up @@ -75,8 +73,7 @@ jobs:
name: Building Docker Containers
# Require the job which generates list of changed files.
needs: changes
# Don't run on draft pull requests.
if: ${{ !github.event.pull_request.draft && needs.changes.outputs.docker-changes != '[]' && needs.changes.outputs.docker-changes != '' }}
if: ${{ needs.changes.outputs.docker-changes != '[]' && needs.changes.outputs.docker-changes != '' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -117,8 +114,6 @@ jobs:
name: Building dapps which use Docker Compose
# Require the job which generates list of changed files.
needs: changes
# Don't run on draft pull requests, or if there are no changes to dapps built with compose:
if: ${{ !github.event.pull_request.draft && needs.changes.outputs.compose-changes != '[]' && needs.changes.outputs.compose-changes != '' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
92 changes: 92 additions & 0 deletions .github/workflows/rust-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: "Rust: build and test"

on:
push:
branches: main

pull_request:

workflow_dispatch: # allows manual trigger

env:
RUST_FMT_VERSION: nightly-2023-04-01-x86_64-unknown-linux-gnu
CARGO_CONCORDIUM_VERSION: "4.2.0"

jobs:

rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run cargo fmt
run: |
rustup +${{ env.RUST_FMT_VERSION }} component add rustfmt
cargo +${{ env.RUST_FMT_VERSION }} fmt --check

clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Clippy
run: |
rustup component add clippy
- name: Run Clippy
run: |
cargo clippy --locked --all-targets --all-features --no-deps -- -D warnings

tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run tests
run: |
cargo test --locked --all-features --release

# Smart contracts currently has to be standalone crates and not part of the repo workspace
# due to how cargo-concordium verifiable build works
smart_contracts:
name: "Smart contract: ${{ matrix.crate }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
crate: [ "low-code-nft-marketplace/cis2-market", "trackAndTrace/smart-contract"]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install rustfmt and Clippy etc.
run: |
rustup +${{ env.RUST_FMT_VERSION }} component add rustfmt
rustup component add clippy
rustup target add wasm32-unknown-unknown
- name: Run cargo fmt
run: |
cargo +${{ env.RUST_FMT_VERSION }} fmt --manifest-path=${{ matrix.crate }}/Cargo.toml --check
- name: Run Clippy
run: |
cargo clippy --manifest-path=${{ matrix.crate }}/Cargo.toml --locked --all-targets --all-features --no-deps -- -D warnings
- name: Download and install Cargo Concordium
run: |
curl -L https://github.com/Concordium/concordium-smart-contract-tools/releases/download/releases/cargo-concordium/${CARGO_CONCORDIUM_VERSION}/cargo-concordium-linux-amd64 -o /tmp/cargo-concordium
chmod +x /tmp/cargo-concordium
sudo mv /tmp/cargo-concordium /usr/bin/cargo-concordium
- name: Run cargo concordium build
run: |
cargo concordium build -- --manifest-path "${{ matrix.crate }}/Cargo.toml"
- name: Run cargo concordium test
run: |
cargo concordium test -- --manifest-path "${{ matrix.crate }}/Cargo.toml"
149 changes: 0 additions & 149 deletions .github/workflows/rust-fmt-lint.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
name: Build, Format and Lint Frontends
name: "TypeScript: build and test"

on:
push:
branches: main

pull_request:
branches: main

env:
NODE_VERSION: "lts/*"

jobs:
lint:
name: Running linter
# Don't run on draft pull requests
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -53,8 +50,6 @@ jobs:

prettier:
name: Running Prettier
# Don't run on draft pull requests
if: ${{ !github.event.pull_request.draft }}
needs: lint
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -96,8 +91,6 @@ jobs:

build:
name: Building Frontend
# Don't run on draft pull requests
if: ${{ !github.event.pull_request.draft }}
needs: prettier
runs-on: ubuntu-latest
strategy:
Expand Down
Loading
Loading