Skip to content

feat(node): avoid cloning in-memory data structures on apply_block #1144

feat(node): avoid cloning in-memory data structures on apply_block

feat(node): avoid cloning in-memory data structures on apply_block #1144

Workflow file for this run

# Runs testing related jobs.
name: test
on:
push:
branches: [main, next]
pull_request:
types: [opened, reopened, synchronize]
# Limits workflow concurrency to only the latest commit in the PR.
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
jobs:
test:
name: test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@main
- name: Rustup
run: rustup update --no-self-update
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }}
- uses: taiki-e/install-action@nextest
- name: Run tests
run: make test