Fix (de)serialization of export transaction #139
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: ci | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run static analysis tests | |
run: cargo fmt --all --check | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Run doc tests | |
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features --document-private-items -p avalanche-consensus -p avalanche-types | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Run static analysis tests | |
shell: bash | |
run: cargo clippy --all --all-features --tests --benches --examples -- -D warnings | |
unit: | |
name: unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
large-packages: false | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Run unit tests | |
run: cargo test --all-features -p avalanche-types -p avalanche-consensus | |
avalanchego-integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
large-packages: false | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.19' | |
- name: Run e2e tests | |
run: scripts/tests.avalanchego-e2e.sh | |
avalanchego-conformance-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
large-packages: false | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.19' | |
- name: Run e2e tests | |
run: scripts/tests.avalanchego-conformance.sh | |
avalanchego-byzantine-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
large-packages: false | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.19' | |
- name: Run e2e tests | |
run: scripts/tests.avalanchego-byzantine.sh |