Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
audit:
timeout-minutes: 60
permissions:
issues: write
checks: write
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,27 @@ concurrency:

jobs:
benchmark:
runs-on: ubuntu-latest
timeout-minutes: 60
runs-on: self-hosted
env:
TOOLCHAIN: stable
steps:
- name: Checkout source code
uses: actions/checkout@v6
uses: actions/checkout@v4

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing all these downgrades makes no sense to me. @TheBlueMatt any reason we can't update the runners to support node24?

- name: Install Rust toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain stable
rustup override set stable
- name: Set Rust override
run: rustup override set stable
- name: Enable caching for bitcoind
id: cache-bitcoind
uses: actions/cache@v5
uses: actions/cache@v4
with:
path: bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
key: bitcoind-29.0-${{ runner.os }}-${{ runner.arch }}
- name: Enable caching for electrs
id: cache-electrs
uses: actions/cache@v5
uses: actions/cache@v4
with:
path: bin/electrs-${{ runner.os }}-${{ runner.arch }}
key: electrs-${{ runner.os }}-${{ runner.arch }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cln-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ concurrency:

jobs:
check-cln:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cron-weekly-rustfmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:
jobs:
format:
name: Nightly rustfmt
runs-on: ubuntu-24.04
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/eclair-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ concurrency:

jobs:
check-eclair:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/hrn-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ concurrency:

jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 60
runs-on: self-hosted

steps:
- name: Checkout source code
Expand Down Expand Up @@ -42,4 +43,4 @@ jobs:
- name: Run HRN Integration Tests
run: |
RUSTFLAGS="--cfg no_download --cfg hrn_tests $RUSTFLAGS" cargo test --test integration_tests_hrn
RUSTFLAGS="--cfg no_download --cfg hrn_tests $RUSTFLAGS" cargo test --test integration_tests_hrn --features uniffi
RUSTFLAGS="--cfg no_download --cfg hrn_tests $RUSTFLAGS" cargo test --test integration_tests_hrn --features uniffi
1 change: 1 addition & 0 deletions .github/workflows/kotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ concurrency:

jobs:
check-kotlin:
timeout-minutes: 60
runs-on: ubuntu-latest

env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lnd-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ concurrency:

jobs:
check-lnd:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ concurrency:

jobs:
check-python:
timeout-minutes: 60
runs-on: ubuntu-latest

env:
Expand Down
26 changes: 15 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ concurrency:

jobs:
build:
timeout-minutes: 60
strategy:
matrix:
platform: [
ubuntu-latest,
self-hosted,
macos-latest,
windows-latest,
]
Expand All @@ -24,7 +25,7 @@ jobs:
- toolchain: stable
check-fmt: true
build-uniffi: true
platform: ubuntu-latest
platform: self-hosted
- toolchain: stable
platform: macos-latest
- toolchain: stable
Expand All @@ -34,7 +35,7 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout source code
uses: actions/checkout@v6
uses: actions/checkout@v4
- name: Install Rust ${{ matrix.toolchain }} toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
Expand All @@ -50,13 +51,13 @@ jobs:
run: echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"
- name: Enable caching for bitcoind
id: cache-bitcoind
uses: actions/cache@v5
uses: actions/cache@v4
with:
path: bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
key: bitcoind-29.0-${{ runner.os }}-${{ runner.arch }}
- name: Enable caching for electrs
id: cache-electrs
uses: actions/cache@v5
uses: actions/cache@v4
with:
path: bin/electrs-${{ runner.os }}-${{ runner.arch }}
key: electrs-${{ runner.os }}-${{ runner.arch }}
Expand Down Expand Up @@ -92,26 +93,29 @@ jobs:

linting:
name: Linting
runs-on: ubuntu-latest
timeout-minutes: 60
runs-on: self-hosted
steps:
- name: Checkout source code
uses: actions/checkout@v6
- name: Install Rust and clippy
uses: actions/checkout@v4
- name: Install Rust stable toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain stable
rustup component add clippy
- name: Add clippy component
Comment thread
tnull marked this conversation as resolved.
run: rustup component add clippy
- name: Ban `unwrap` in library code
run: |
cargo clippy --lib --verbose --color always -- -A warnings -D clippy::unwrap_used -A clippy::tabs_in_doc_comments
cargo clippy --lib --features uniffi --verbose --color always -- -A warnings -D clippy::unwrap_used -A clippy::tabs_in_doc_comments

doc:
name: Documentation
runs-on: ubuntu-latest
timeout-minutes: 60
runs-on: self-hosted
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/install@cargo-docs-rs
- run: cargo docs-rs
1 change: 1 addition & 0 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: [push, pull_request]

jobs:
semver-checks:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout source code
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ concurrency:

jobs:
check-swift:
timeout-minutes: 60
runs-on: macos-latest

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/vss-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ concurrency:

jobs:
build-and-test:
timeout-minutes: 60
runs-on: ubuntu-latest

services:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/vss-no-auth-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ concurrency:

jobs:
build-and-test:
timeout-minutes: 60
runs-on: ubuntu-latest

services:
Expand Down
Loading