Skip to content

Bring sygma deposit nonce fix #866

Bring sygma deposit nonce fix

Bring sygma deposit nonce fix #866

Workflow file for this run

name: Build and Test
on:
push:
branches: [ main, "maintenance/**" ]
pull_request:
branches: [ "**" ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Cargo test
runs-on: ubuntu-22.04
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master # https://github.com/easimon/maximize-build-space
with:
root-reserve-mb: 4096
temp-reserve-mb: 1024
swap-size-mb: 8192
remove-dotnet: "true"
remove-android: "true"
remove-haskell: "true"
- uses: actions/checkout@v3
with:
submodules: "true"
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get -y install llvm clang protobuf-compiler
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
default: true
toolchain: stable
target: wasm32-unknown-unknown
- name: Cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
- name: Show disk usage
if: always()
run: df -h