Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into satoshi-index
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Dec 12, 2022
2 parents 302be87 + 2f8f098 commit 9bb910b
Show file tree
Hide file tree
Showing 11 changed files with 322 additions and 191 deletions.
99 changes: 99 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master

defaults:
run:
shell: bash

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.0

- uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: latest

- name: Install mdbook-linkcheck
run: |
mkdir -p mdbook-linkcheck
cd mdbook-linkcheck
wget https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/latest/download/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip
unzip mdbook-linkcheck.x86_64-unknown-linux-gnu.zip
chmod +x mdbook-linkcheck
pwd >> $GITHUB_PATH
- run: mdbook build docs

- name: Deploy Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_branch: gh-pages
publish_dir: docs/build/html
lint:
runs-on: ubuntu-latest

env:
RUSTFLAGS: --deny warnings

steps:
- uses: actions/checkout@v2

- name: Install Rust Toolchain Components
uses: actions-rs/toolchain@v1
with:
components: clippy, rustfmt
override: true
toolchain: stable

- uses: Swatinem/rust-cache@v1

- name: Check Lockfile
run: cargo update --locked --package ord

- name: Clippy
run: cargo clippy --all --all-targets

- name: Format
run: cargo fmt --all -- --check

- name: Check for Forbidden Words
run: |
sudo apt-get install ripgrep
./bin/forbid
test:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest

runs-on: ${{matrix.os}}

env:
RUSTFLAGS: --deny warnings

steps:
- uses: actions/checkout@v2

- name: Install Rust Toolchain Components
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- uses: Swatinem/rust-cache@v1

- name: Test
run: cargo test --all
42 changes: 0 additions & 42 deletions .github/workflows/docs.yaml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/lint.yaml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/test.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/src/bounty/3.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To search an ordinal wallet for ordinals with a name in `frequency.tsv`, use
the following [`ord`](https://github.com/casey/ord) command:

```
ord wallet identify --ordinals frequency.tsv
ord wallet satoshis --tsv frequency.tsv
```

### Part 0
Expand Down
6 changes: 3 additions & 3 deletions docs/src/guides/ordinal-hunting.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ wallet is named `foo`:
2. Display any rare ordinals wallet `foo`'s UTXOs:

```sh
ord wallet identify
ord wallet satoshis
```

### Searching for Rare Ordinals in a Non-Bitcoin Core Wallet
Expand Down Expand Up @@ -130,7 +130,7 @@ your wallet of funds.
7. Display your wallet's rare ordinals:

```sh
ord wallet identify
ord wallet satoshis
```

### Searching for Rare Ordinals in a Wallet that Exports Multi-path Descriptors
Expand Down Expand Up @@ -231,7 +231,7 @@ those multiple descriptors into Bitcoin Core.
7. Display your wallet's rare ordinals:

```sh
ord wallet identify
ord wallet satoshis
```

### Exporting Descriptors
Expand Down
Loading

0 comments on commit 9bb910b

Please sign in to comment.