Skip to content

Update CI

Update CI #6

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
defaults:
run:
shell: bash
env:
RUSTFLAGS: --deny warnings
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust Toolchain Components
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Test
run: cargo test --all
integration:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
bitcoinversion:
- "0.21.0"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- env:
BITCOINVERSION: ${{ matrix.bitcoinversion }}
run: ./contrib/integration_test.sh