cargo update, tighten GH workflows
#219
This file contains hidden or 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: networks/ Tests | |
| permissions: {} | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - next | |
| paths: | |
| - "common/**" | |
| - "crypto/**" | |
| - "networks/**" | |
| pull_request: | |
| paths: | |
| - "common/**" | |
| - "crypto/**" | |
| - "networks/**" | |
| workflow_dispatch: | |
| jobs: | |
| test-bitcoin: | |
| name: Test `networks/bitcoin` crates | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-26-intel, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Test Dependencies | |
| uses: ./.github/actions/test-dependencies | |
| - name: Run Tests | |
| shell: bash | |
| run: | | |
| find ./networks/bitcoin -name "Cargo.toml" | while IFS="\n" read -r manifest; do | |
| cargo test --all-features --manifest-path "$manifest" | |
| done | |
| test-ethereum: | |
| name: Test `networks/ethereum` crates | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-26-intel, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Test Dependencies | |
| uses: ./.github/actions/test-dependencies | |
| - name: Run Tests | |
| shell: bash | |
| run: | | |
| find ./networks/ethereum -name "Cargo.toml" | while IFS="\n" read -r manifest; do | |
| cargo test --all-features --manifest-path "$manifest" | |
| done |