Skip to content

Fix tipper not working problem #932

Fix tipper not working problem

Fix tipper not working problem #932

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: 1.73.0
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