Skip to content
Draft
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
29 changes: 29 additions & 0 deletions .github/workflows/candid_type_generation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: candid_type_generation

on:
push:
branches:
- master
pull_request:
paths:
- rust/candid_type_generation/**
- .github/workflows/candid_type_generation.yml

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

jobs:
rust-candid_type_generation:
runs-on: ubuntu-24.04
container: ghcr.io/dfinity/icp-dev-env-rust:1.0.0
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Deploy and test
working-directory: rust/candid_type_generation
run: |
icp network start -d
icp deploy
make test
45 changes: 0 additions & 45 deletions .github/workflows/rust-candid-type-generation-example.yml

This file was deleted.

3 changes: 3 additions & 0 deletions rust/candid_type_generation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# The backend/src/declarations/ directory contains ic-cdk-bindgen generated types
# that are committed to the repository. Override the root .gitignore rule.
!backend/src/declarations/
Loading
Loading