fix: attribute iteration extends past last defined attribute #116
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pyth SDK Example Solana Contract with Anchor Library | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./examples/sol-anchor-contract | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config build-essential protobuf-compiler | |
- name: Install solana binaries | |
run: | | |
sh -c "$(curl -sSfL https://release.solana.com/v1.18.21/install)" | |
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH | |
- name: Install anchor binaries | |
run: | | |
cargo install --git https://github.com/project-serum/anchor avm --locked --force | |
avm install latest | |
avm use latest | |
- name: Build | |
run: anchor build |