Skip to content

meta raft log storage impl #20

meta raft log storage impl

meta raft log storage impl #20

name: pull_requests
on:
pull_request:
types: [assigned, opened, synchronize, edited]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-24.04]
runs-on: "${{ matrix.os }}"
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: setup rust
run: rustup toolchain install nightly
- name: build
run: cargo build
test:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-24.04]
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: setup rust
run: rustup toolchain install nightly
- name: test
run: cargo test
bench:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: setup rust
run: rustup toolchain install nightly
- name: bench
run: cargo bench > bench.txt
- name: upload bench
uses: actions/upload-artifact@v4
with:
path: bench.txt
- name: add bench to pr
uses: thollander/actions-comment-pull-request@v2
with:
filePath: bench.txt
comment_tag: execution