api: change solfees fee calculation #30
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
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'master' | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04] | |
runs-on: ["${{ matrix.os }}"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: fanatid/rust-github-ci-prepare@master | |
- name: cargo deny check advisories | |
uses: EmbarkStudios/cargo-deny-action@v1 | |
with: | |
command: check advisories | |
- name: run clippy | |
run: cargo clippy --workspace --all-targets -- -Dwarnings | |
- name: check features in `solfees-be` | |
run: cargo check -p solfees-be --all-targets | |
- name: run test | |
run: cargo test --all-targets |