pyth-client 0.5.1

pyth price oracle data structures and example usage
Documentation
name: Rust

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: sudo apt-get install libudev-dev
    - name: Install Solana Binaries
      run: sh -c "$(curl -sSfL https://release.solana.com/v1.8.14/install)"
    - name: Build
      run: cargo build --verbose
    - name: Run tests
      run: cargo test --verbose
    - name: Build BPF
      run: PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH" cargo build-bpf --verbose
    - name: Run BPF tests
      run: PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH" cargo test-bpf --verbose