Skip to content

Commit b9392d2

Browse files
authored
chore: migrate rust/send_http_get to icp-cli (#1433)
* chore: migrate rust/send_http_get to icp-cli
1 parent 9d35b04 commit b9392d2

15 files changed

Lines changed: 147 additions & 303 deletions

File tree

.github/workflows/send_http_get.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
pull_request:
77
paths:
88
- motoko/send_http_get/**
9+
- rust/send_http_get/**
910
- .github/workflows/send_http_get.yml
1011

1112
concurrency:
@@ -26,3 +27,17 @@ jobs:
2627
icp network start -d
2728
icp deploy
2829
bash test.sh
30+
31+
rust-send_http_get:
32+
runs-on: ubuntu-24.04
33+
container: ghcr.io/dfinity/icp-dev-env-rust:1.0.1
34+
env:
35+
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
steps:
37+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
38+
- name: Deploy and test
39+
working-directory: rust/send_http_get
40+
run: |
41+
icp network start -d
42+
icp deploy
43+
bash test.sh

rust/send_http_get/.devcontainer/devcontainer.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

rust/send_http_get/.gitignore

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,5 @@
77
.DS_Store
88
**/.DS_Store
99

10-
# dfx temporary files
11-
.dfx/
12-
13-
# generated files
14-
src/declarations/
15-
1610
# rust
1711
target/
18-
19-
# frontend code
20-
node_modules/
21-
dist/
22-
23-
# environment variables
24-
.env

rust/send_http_get/BUILD.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)