Prepare for initial 1.0 alpha version #551
Workflow file for this run
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
--- # hex-conservative CI: If you edit this file please update README.md | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- 1.x | |
pull_request: | |
name: Continuous integration | |
jobs: | |
Stable: # 2 jobs, one per lockfile. | |
name: Test - stable toolchain | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
dep: [minimal, recent] | |
steps: | |
- name: "Checkout repo" | |
uses: actions/checkout@v4 | |
- name: "Checkout maintainer tools" | |
uses: actions/checkout@v4 | |
with: | |
repository: rust-bitcoin/rust-bitcoin-maintainer-tools | |
ref: 4f17a059a2f57c1b99b7c240a1467a5c0acebdc3 | |
path: maintainer-tools | |
- name: "Select toolchain" | |
uses: dtolnay/rust-toolchain@stable | |
- name: "Set dependencies" | |
run: cp Cargo-${{ matrix.dep }}.lock Cargo.lock | |
- name: "Run test script" | |
run: ./maintainer-tools/ci/run_task.sh stable | |
MSRV: # 2 jobs, one per lockfile. | |
name: Test - MSRV toolchain | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
dep: [minimal, recent] | |
steps: | |
- name: "Checkout repo" | |
uses: actions/checkout@v4 | |
- name: "Checkout maintainer tools" | |
uses: actions/checkout@v4 | |
with: | |
repository: rust-bitcoin/rust-bitcoin-maintainer-tools | |
ref: 4f17a059a2f57c1b99b7c240a1467a5c0acebdc3 | |
path: maintainer-tools | |
- name: "Select toolchain" | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: "1.63.0" | |
- name: "Set dependencies" | |
run: cp Cargo-${{ matrix.dep }}.lock Cargo.lock | |
- name: "Run test script" | |
run: ./maintainer-tools/ci/run_task.sh msrv | |
Docs: | |
name: Docs - stable toolchain | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
dep: [recent] | |
steps: | |
- name: "Checkout repo" | |
uses: actions/checkout@v4 | |
- name: "Checkout maintainer tools" | |
uses: actions/checkout@v4 | |
with: | |
repository: rust-bitcoin/rust-bitcoin-maintainer-tools | |
ref: 4f17a059a2f57c1b99b7c240a1467a5c0acebdc3 | |
path: maintainer-tools | |
- name: "Select toolchain" | |
uses: dtolnay/rust-toolchain@stable | |
- name: "Set dependencies" | |
run: cp Cargo-${{ matrix.dep }}.lock Cargo.lock | |
- name: "Run test script" | |
run: ./maintainer-tools/ci/run_task.sh docs |