Skip to content

Commit bfed993

Browse files
authored
chore: migrate rust/candid_type_generation to icp-cli (#1408)
1 parent bcd18cc commit bfed993

21 files changed

Lines changed: 684 additions & 1793 deletions
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: candid_type_generation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
paths:
9+
- rust/candid_type_generation/**
10+
- .github/workflows/candid_type_generation.yml
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
rust-candid_type_generation:
18+
runs-on: ubuntu-24.04
19+
container: ghcr.io/dfinity/icp-dev-env-rust:1.0.1
20+
env:
21+
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
steps:
23+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
24+
- name: Deploy and test
25+
working-directory: rust/candid_type_generation
26+
run: |
27+
icp network start -d
28+
icp deploy
29+
bash test.sh

.github/workflows/rust-candid-type-generation-example.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Rust build artifacts — generated code from ic-cdk-bindgen goes to Cargo's OUT_DIR
2+
# (inside target/), which is already covered by the root .gitignore.

0 commit comments

Comments
 (0)