fix: use sha256, apply sc_reduce32
and change salt in key derivation
#16
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
name: Tests | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
# Only run these once since they will be consistent regardless of any node | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- name: Test Dependencies | |
uses: ./.github/actions/test-dependencies | |
- name: Run Tests | |
run: | | |
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features | |
- name: Run Unit Tests Without Features | |
run: | | |
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --lib | |
- name: Run Unit Tests With Features | |
run: | | |
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features --lib | |
# Doesn't run unit tests with features as the tests workflow will | |
integration-tests: | |
runs-on: ubuntu-latest | |
# Test against all supported protocol versions | |
strategy: | |
matrix: | |
version: [v0.17.3.2, v0.18.3.4] | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- name: Test Dependencies | |
uses: ./.github/actions/test-dependencies | |
with: | |
monero-version: ${{ matrix.version }} | |
- name: Run Integration Tests Without Features | |
run: | | |
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --package monero-wallet-util --test '*' | |
- name: Run Integration Tests With Features | |
run: | | |
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --package monero-wallet-util --all-features --test '*' |