Skip to content

Commit

Permalink
remove python
Browse files Browse the repository at this point in the history
  • Loading branch information
bryzettler committed Aug 14, 2023
1 parent 82e94cc commit 35a50eb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/actions/build-anchor/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ runs:
if: steps.cache-anchor-build.outputs.cache-hit != 'true'
shell: bash
- uses: ./.github/actions/setup-ts/
- uses: ./.github/actions/setup-python/
2 changes: 2 additions & 0 deletions .github/actions/setup-anchor/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ runs:
- run: if [ $ANCHOR_VERSION -eq 0 ]; then cargo install --git https://github.com/coral-xyz/anchor anchor-cli --locked --force; else cargo install --git https://github.com/coral-xyz/anchor --tag "v$ANCHOR_VERSION" anchor-cli --locked; fi
shell: bash
if: steps.cache-anchor-cli.outputs.cache-hit != 'true'
- run: cargo install toml-cli
shell: bash
13 changes: 0 additions & 13 deletions .github/actions/setup-python/action.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/init-idls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ program_list=$(ls "$programs_dir")
# Run anchor idl init for each program
for program in $program_list; do
underscored=$(echo $program | sed 's/-/_/g')
id=$(toml get --toml-path Anchor.toml programs.localnet.$underscored | tr -d '"')
id=$(~/.cargo/bin/toml get Anchor.toml programs.localnet.$underscored | tr -d '"')
filepath="target/idl/${underscored}.json"
cluster="${1:-localnet}"

Expand Down
2 changes: 1 addition & 1 deletion scripts/upgrade-idls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ program_list=$(ls "$programs_dir")
# Run anchor idl init for each program
for program in $program_list; do
underscored=$(echo $program | sed 's/-/_/g')
id=$(toml get --toml-path Anchor.toml programs.localnet.$underscored | tr -d '"')
id=$(~/.cargo/bin/toml get Anchor.toml programs.localnet.$underscored | tr -d '"')
filepath="target/idl/${underscored}.json"
cluster="${1:-localnet}"

Expand Down

0 comments on commit 35a50eb

Please sign in to comment.