Skip to content

Remove deprecated Asset Prices API support (#35) #18

Remove deprecated Asset Prices API support (#35)

Remove deprecated Asset Prices API support (#35) #18

Workflow file for this run

name: build
on:
push:
branches: ['trunk']
pull_request:
branches: ['trunk']
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
components: clippy
override: true
- name: Install required cargo
run: cargo install clippy-sarif sarif-fmt
- name: Run rust-clippy
run: cargo clippy
--all-features
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: rust-clippy-results.sarif
wait-for-processing: true
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
env:
API_KEY: ${{ secrets.TEST_API_KEY }}