Update aptos-protos to upstream branch test2 #26
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: "Tests" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.sha || github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt update && sudo apt install libdw-dev | |
cargo install cargo-sort | |
rustup update | |
rustup toolchain install nightly | |
working-directory: aptos-indexer-processors-sdk | |
- name: Build with No Default Features | |
run: cargo build --no-default-features | |
working-directory: aptos-indexer-processors-sdk | |
- name: Run Tests | |
run: cargo test | |
working-directory: aptos-indexer-processors-sdk |