Skip to content

[PM-8275] Implement a zeroizing allocator #136

[PM-8275] Implement a zeroizing allocator

[PM-8275] Implement a zeroizing allocator #136

Workflow file for this run

---
name: Test for memory leaks
on:
pull_request:
paths:
- "crates/bitwarden-crypto/**"
- "crates/memory-testing/**"
push:
paths:
- "crates/bitwarden-crypto/**"
- "crates/memory-testing/**"
branches:
- "main"
- "rc"
- "hotfix-rc"
jobs:
memory-test:
name: Testing
runs-on: ubuntu-22.04
steps:
- name: Check out repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up gdb
run: |
sudo apt update
sudo apt -y install gdb
- name: Install rust
uses: dtolnay/rust-toolchain@d8352f6b1d2e870bc5716e7a6d9b65c4cc244a1a # stable
with:
toolchain: stable
- name: Cache cargo registry
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
with:
key: memtest-cargo
- name: Test
run: ./crates/memory-testing/run_test.sh no-docker