Skip to content

Commit ae5241a

Browse files
committed
add anchor tokens examples to github actions, add pnpm-lock.yaml files
1 parent cf3a9aa commit ae5241a

File tree

46 files changed

+53304
-39
lines changed

Some content is hidden

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

46 files changed

+53304
-39
lines changed

.github/workflows/anchor.yml

Lines changed: 66 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,39 @@ jobs:
4545
"basics/account-data/anchor"
4646
"basics/checking-accounts/anchor"
4747
"basics/close-account/anchor"
48-
# "basics/counter/anchor"
49-
# "basics/create-account/anchor"
50-
# "basics/hello-solana/anchor"
51-
# "basics/pda-rent-payer/anchor"
52-
# "basics/processing-instructions/anchor"
53-
# "basics/program-derived-addresses/anchor"
54-
# "basics/realloc/anchor"
55-
# "basics/rent/anchor"
56-
# "basics/repository-layout/anchor"
57-
# "basics/transfer-sol/anchor"
48+
"basics/counter/anchor"
49+
"basics/create-account/anchor"
50+
"basics/hello-solana/anchor"
51+
"basics/pda-rent-payer/anchor"
52+
"basics/processing-instructions/anchor"
53+
"basics/program-derived-addresses/anchor"
54+
"basics/realloc/anchor"
55+
"basics/rent/anchor"
56+
"basics/repository-layout/anchor"
57+
"basics/transfer-sol/anchor"
58+
"tokens/create-token/anchor"
59+
"tokens/nft-minter/anchor"
60+
"tokens/pda-mint-authority/anchor"
61+
"tokens/spl-token-minter/anchor"
62+
"tokens/token-swap/anchor"
63+
"tokens/transfer-tokens/anchor"
64+
"tokens/token-2022/basics/anchor"
65+
"tokens/token-2022/cpi-guard/anchor"
66+
"tokens/token-2022/default-account-state/anchor"
67+
"tokens/token-2022/group/anchor"
68+
"tokens/token-2022/immutable-owner/anchor"
69+
"tokens/token-2022/interest-bearing/anchor"
70+
"tokens/token-2022/memo-transfer/anchor"
71+
"tokens/token-2022/metadata/anchor"
72+
"tokens/token-2022/mint-close-authority/anchor"
73+
"tokens/token-2022/non-transferable/anchor"
74+
"tokens/token-2022/permanent-delegate/anchor"
75+
"tokens/token-2022/transfer-fee/anchor"
76+
"tokens/token-2022/transfer-hook/anchor"
77+
"tokens/token-2022/transfer-hook/anchor/TransferHookCounter"
78+
"tokens/token-2022/transfer-hook/anchor/TransferHookHelloWorld"
79+
"tokens/token-2022/transfer-hook/anchor/TransferHookTransferCost"
80+
"tokens/token-2022/transfer-hook/anchor/TransferHookWhitelist"
5881
)
5982
for projectDir in "${ProjectDirs[@]}"; do
6083
echo "
@@ -108,16 +131,39 @@ jobs:
108131
"basics/account-data/anchor"
109132
"basics/checking-accounts/anchor"
110133
"basics/close-account/anchor"
111-
# "basics/counter/anchor"
112-
# "basics/create-account/anchor"
113-
# "basics/hello-solana/anchor"
114-
# "basics/pda-rent-payer/anchor"
115-
# "basics/processing-instructions/anchor"
116-
# "basics/program-derived-addresses/anchor"
117-
# "basics/realloc/anchor"
118-
# "basics/rent/anchor"
119-
# "basics/repository-layout/anchor"
120-
# "basics/transfer-sol/anchor"
134+
"basics/counter/anchor"
135+
"basics/create-account/anchor"
136+
"basics/hello-solana/anchor"
137+
"basics/pda-rent-payer/anchor"
138+
"basics/processing-instructions/anchor"
139+
"basics/program-derived-addresses/anchor"
140+
"basics/realloc/anchor"
141+
"basics/rent/anchor"
142+
"basics/repository-layout/anchor"
143+
"basics/transfer-sol/anchor"
144+
"tokens/create-token/anchor"
145+
"tokens/nft-minter/anchor"
146+
"tokens/pda-mint-authority/anchor"
147+
"tokens/spl-token-minter/anchor"
148+
"tokens/token-swap/anchor"
149+
"tokens/transfer-tokens/anchor"
150+
"tokens/token-2022/basics/anchor"
151+
"tokens/token-2022/cpi-guard/anchor"
152+
"tokens/token-2022/default-account-state/anchor"
153+
"tokens/token-2022/group/anchor"
154+
"tokens/token-2022/immutable-owner/anchor"
155+
"tokens/token-2022/interest-bearing/anchor"
156+
"tokens/token-2022/memo-transfer/anchor"
157+
"tokens/token-2022/metadata/anchor"
158+
"tokens/token-2022/mint-close-authority/anchor"
159+
"tokens/token-2022/non-transferable/anchor"
160+
"tokens/token-2022/permanent-delegate/anchor"
161+
"tokens/token-2022/transfer-fee/anchor"
162+
"tokens/token-2022/transfer-hook/anchor"
163+
"tokens/token-2022/transfer-hook/anchor/TransferHookCounter"
164+
"tokens/token-2022/transfer-hook/anchor/TransferHookHelloWorld"
165+
"tokens/token-2022/transfer-hook/anchor/TransferHookTransferCost"
166+
"tokens/token-2022/transfer-hook/anchor/TransferHookWhitelist"
121167
)
122168
for projectDir in "${ProjectDirs[@]}"; do
123169
echo "

.github/workflows/solana-native.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ jobs:
3939
"basics/account-data/native/program"
4040
"basics/checking-accounts/native/program"
4141
"basics/close-account/native/program"
42-
# "basics/counter/native/program"
43-
# "basics/create-account/native/program"
44-
# "basics/hello-solana/native/program"
45-
# "basics/pda-rent-payer/native/program"
46-
# "basics/processing-instructions/native/program"
47-
# "basics/program-derived-addresses/native/program"
48-
# "basics/realloc/native/program"
49-
# "basics/rent/native/program"
50-
# "basics/repository-layout/native/program"
51-
# "basics/transfer-sol/native/program"
42+
"basics/counter/native/program"
43+
"basics/create-account/native/program"
44+
"basics/hello-solana/native/program"
45+
"basics/pda-rent-payer/native/program"
46+
"basics/processing-instructions/native/program"
47+
"basics/program-derived-addresses/native/program"
48+
"basics/realloc/native/program"
49+
"basics/rent/native/program"
50+
"basics/repository-layout/native/program"
51+
"basics/transfer-sol/native/program"
5252
)
5353
for projectDir in "${ProjectDirs[@]}"; do
5454
echo "
@@ -103,15 +103,15 @@ jobs:
103103
"basics/account-data/native/"
104104
"basics/checking-accounts/native/"
105105
"basics/close-account/native/"
106-
# "basics/counter/native/"
107-
# "basics/create-account/native/"
108-
# "basics/hello-solana/native/"
109-
# "basics/pda-rent-payer/native/"
110-
# "basics/processing-instructions/native/"
111-
# "basics/program-derived-addresses/native/"
112-
# "basics/rent/native/"
113-
# "basics/repository-layout/native/"
114-
# "basics/transfer-sol/native/"
106+
"basics/counter/native/"
107+
"basics/create-account/native/"
108+
"basics/hello-solana/native/"
109+
"basics/pda-rent-payer/native/"
110+
"basics/processing-instructions/native/"
111+
"basics/program-derived-addresses/native/"
112+
"basics/rent/native/"
113+
"basics/repository-layout/native/"
114+
"basics/transfer-sol/native/"
115115
)
116116
for projectDir in "${ProjectDirs[@]}"; do
117117
echo "

0 commit comments

Comments
 (0)