Skip to content

Commit 6c0cefd

Browse files
committed
add CI cosmetics
1 parent 166f90c commit 6c0cefd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/cont_integration.yml

+15
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,18 @@ jobs:
4949
run: curl https://bitcoincore.org/bin/bitcoin-core-$BITCOIN_VER/bitcoin-$BITCOIN_VER-x86_64-linux-gnu.tar.gz | tar -xvz bitcoin-$BITCOIN_VER/bin/bitcoind
5050
- name: Test electrsd
5151
run: RUST_LOG=electrs=debug cargo test --verbose ${{ matrix.features }}
52+
53+
cosmetics:
54+
runs-on: ubuntu-20.04
55+
steps:
56+
- uses: actions/checkout@v2
57+
- uses: actions-rs/toolchain@v1
58+
with:
59+
toolchain: stable
60+
override: true
61+
profile: minimal
62+
components: rustfmt, clippy
63+
- name: fmt
64+
run: cargo fmt -- --check
65+
- name: clippy
66+
run: cargo clippy -- -D warnings

0 commit comments

Comments
 (0)