diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 59655d036..c040602e8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -20,6 +20,7 @@ /motoko/encrypted-notes-dapp/ @dfinity/crypto-team /motoko/hello_cycles/ @dfinity/languages /motoko/ic-pos/ @dfinity/growth +/motoko/icp_transfer/ @dfinity/growth /motoko/icrc2-swap/ @dfinity/growth /motoko/internet_identity_integration/ @dfinity/identity /motoko/life/ @dfinity/languages diff --git a/.github/workflows/motoko-icp-transfer-example.yml b/.github/workflows/motoko-icp-transfer-example.yml new file mode 100644 index 000000000..c6802a0f5 --- /dev/null +++ b/.github/workflows/motoko-icp-transfer-example.yml @@ -0,0 +1,39 @@ +# Known failure: https://dfinity.atlassian.net/browse/EM-5 +name: motoko-icp_transfer +on: + push: + branches: + - master + pull_request: + paths: + - motoko/icp_transfer/** + - .github/workflows/provision-darwin.sh + - .github/workflows/provision-linux.sh + - .github/workflows/motoko-icp-transfer-example.yml + - .ic-commit +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +jobs: + motoko-icp_transfer-darwin: + runs-on: macos-15 + steps: + - uses: actions/checkout@v1 + - name: Provision Darwin + run: bash .github/workflows/provision-darwin.sh + - name: Motoko Ledger Transfer Darwin + run: | + pushd motoko/icp_transfer + bash ./demo.sh + popd + motoko-icp_transfer-linux: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v1 + - name: Provision Linux + run: bash .github/workflows/provision-linux.sh + - name: Motoko Ledger Transfer Linux + run: | + pushd motoko/icp_transfer + bash ./demo.sh + popd \ No newline at end of file diff --git a/archive/motoko/icp_transfer/.gitignore b/motoko/icp_transfer/.gitignore similarity index 100% rename from archive/motoko/icp_transfer/.gitignore rename to motoko/icp_transfer/.gitignore diff --git a/archive/motoko/icp_transfer/README.md b/motoko/icp_transfer/README.md similarity index 99% rename from archive/motoko/icp_transfer/README.md rename to motoko/icp_transfer/README.md index 7f22dcbbe..4e9d9acc9 100644 --- a/archive/motoko/icp_transfer/README.md +++ b/motoko/icp_transfer/README.md @@ -60,7 +60,7 @@ The URL for the ledger.did file is `https://raw.githubusercontent.com/dfinity/ic If you want to make sure you have the latest ICP ledger files, you can run the following script. Please ensure that you have [`jq`](https://jqlang.github.io/jq/) installed as the script relies on it. ```sh -curl -o download_latest_icp_ledger.sh "https://raw.githubusercontent.com/dfinity/ic/00a4ab409e6236d4082cee4a47544a2d87b7190d/rs/rosetta-api/scripts/download_latest_icp_ledger.sh" +curl -o download_latest_icp_ledger.sh "https://raw.githubusercontent.com/dfinity/ic/1f1d8dd8c294d19a5551a022e3f00f25da7dc944/rs/rosetta-api/scripts/download_latest_icp_ledger.sh" chmod +x download_latest_icp_ledger.sh ./download_latest_icp_ledger.sh ``` diff --git a/archive/motoko/icp_transfer/demo.sh b/motoko/icp_transfer/demo.sh similarity index 100% rename from archive/motoko/icp_transfer/demo.sh rename to motoko/icp_transfer/demo.sh diff --git a/archive/motoko/icp_transfer/dfx.json b/motoko/icp_transfer/dfx.json similarity index 100% rename from archive/motoko/icp_transfer/dfx.json rename to motoko/icp_transfer/dfx.json diff --git a/archive/motoko/icp_transfer/src/icp_transfer_backend/main.mo b/motoko/icp_transfer/src/icp_transfer_backend/main.mo similarity index 100% rename from archive/motoko/icp_transfer/src/icp_transfer_backend/main.mo rename to motoko/icp_transfer/src/icp_transfer_backend/main.mo