fix: Fix overflow and unexpected behavior of deposit nonce set/get #278
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
# The Licensed Work is (c) 2022 Sygma | |
# SPDX-License-Identifier: LGPL-3.0-only | |
name: Test | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
cargo-test: | |
name: Run 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" | |
- uses: ./.github/actions/install_toolchain | |
- name: Run cargo test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --workspace | |
- name: Show disk usage | |
if: always() | |
run: df -h |