Skip to content

Commit 2155c0b

Browse files
committed
ci: Remove rustfmt requirement
1 parent e265d32 commit 2155c0b

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

.github/workflows/rust.yml

-7
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,8 @@ jobs:
1010
matrix:
1111
include:
1212
- rust: stable
13-
env:
14-
RUSTFMTCHK: true
1513
- rust: nightly
16-
env:
17-
RUSTFMTCHK: false
1814
- rust: 1.41.1
19-
env:
20-
RUSTFMTCHK: false
2115
steps:
2216
- name: Checkout Crate
2317
uses: actions/checkout@v2
@@ -29,7 +23,6 @@ jobs:
2923
override: true
3024
- run: cargo update -p serde --precise 1.0.152
3125
- name: Running test script
32-
env: ${{ matrix.env }}
3326
run: ./contrib/test.sh
3427

3528
integrations-tests:

contrib/test.sh

-6
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,9 @@
22
set -xe
33

44
# Just echo all the relevant env vars to help debug Travis.
5-
echo "RUSTFMTCHECK: \"$RUSTFMTCHECK\""
65
echo "BITCOINVERSION: \"$BITCOINVERSION\""
76
echo "PATH: \"$PATH\""
87

9-
if [ -n "$RUSTFMTCHECK" ]; then
10-
rustup component add rustfmt
11-
cargo fmt --all -- --check
12-
fi
13-
148
# Integration test.
159
if [ -n "$BITCOINVERSION" ]; then
1610
wget https://bitcoincore.org/bin/bitcoin-core-$BITCOINVERSION/bitcoin-$BITCOINVERSION-x86_64-linux-gnu.tar.gz

0 commit comments

Comments
 (0)