浏览代码

Install Solana in CI for Anchor IDL checks

Loris Leiva 1 年之前
父节点
当前提交
ff9dede566
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 5 0
      .changeset/strange-news-pretend.md
  2. 1 0
      template/base/.github/workflows/main.yml.njk

+ 5 - 0
.changeset/strange-news-pretend.md

@@ -0,0 +1,5 @@
+---
+"create-solana-program": patch
+---
+
+Install Solana in CI for Anchor IDL checks

+ 1 - 0
template/base/.github/workflows/main.yml.njk

@@ -147,6 +147,7 @@ jobs:
           cargo-cache-local-key: cargo-local
           node: {% raw %}${{ env.NODE_VERSION }}{% endraw %}
 {% if programFramework === 'anchor' %}
+          solana: {% raw %}${{ env.SOLANA_VERSION }}{% endraw %}
           anchor: {% raw %}${{ env.ANCHOR_VERSION }}{% endraw %}
 {% endif %}