Skip to content

Commit 8b24830

Browse files
authored
IDL: update to use codama macros (#180)
* update to use codama macros
1 parent 2b98ca0 commit 8b24830

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+4732
-5117
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
RUST_PACKAGES: "['clients-rust', 'interface', 'program']"
1111
SBPF_PROGRAM_PACKAGES: "['program']"
1212
WASM_PACKAGES: "['interface', 'program']"
13+
IDL_PACKAGES: "['interface']"
1314

1415
jobs:
1516
set_env:
@@ -20,6 +21,7 @@ jobs:
2021
SBPF_PROGRAM_PACKAGES: ${{ steps.compute.outputs.SBPF_PROGRAM_PACKAGES }}
2122
RUST_PACKAGES: ${{ steps.compute.outputs.RUST_PACKAGES }}
2223
WASM_PACKAGES: ${{ steps.compute.outputs.WASM_PACKAGES }}
24+
IDL_PACKAGES: ${{ steps.compute.outputs.IDL_PACKAGES }}
2325
RUST_TOOLCHAIN_NIGHTLY: ${{ steps.compute.outputs.RUST_TOOLCHAIN_NIGHTLY }}
2426
SOLANA_CLI_VERSION: ${{ steps.compute.outputs.SOLANA_CLI_VERSION }}
2527
steps:
@@ -34,6 +36,7 @@ jobs:
3436
echo "SBPF_PROGRAM_PACKAGES=${{ env.SBPF_PROGRAM_PACKAGES }}" >> $GITHUB_OUTPUT
3537
echo "RUST_PACKAGES=${{ env.RUST_PACKAGES }}" >> $GITHUB_OUTPUT
3638
echo "WASM_PACKAGES=${{ env.WASM_PACKAGES }}" >> $GITHUB_OUTPUT
39+
echo "IDL_PACKAGES=${{ env.IDL_PACKAGES }}" >> $GITHUB_OUTPUT
3740
echo "RUST_TOOLCHAIN_NIGHTLY=$(make rust-toolchain-nightly)" >> "$GITHUB_OUTPUT"
3841
echo "SOLANA_CLI_VERSION=$(make solana-cli-version)" >> "$GITHUB_OUTPUT"
3942
@@ -45,6 +48,7 @@ jobs:
4548
sbpf-program-packages: ${{ needs.set_env.outputs.SBPF_PROGRAM_PACKAGES }}
4649
rust-packages: ${{ needs.set_env.outputs.RUST_PACKAGES }}
4750
wasm-packages: ${{ needs.set_env.outputs.WASM_PACKAGES }}
51+
idl-packages: ${{ needs.set_env.outputs.IDL_PACKAGES }}
4852
wasm-toolchain: ${{ needs.set_env.outputs.RUST_TOOLCHAIN_NIGHTLY }}
4953
rustfmt-toolchain: ${{ needs.set_env.outputs.RUST_TOOLCHAIN_NIGHTLY }}
5054
clippy-toolchain: ${{ needs.set_env.outputs.RUST_TOOLCHAIN_NIGHTLY }}

0 commit comments

Comments
 (0)