Merge branch 'master' into libp2p_upgrade

This commit is contained in:
Byron Hambly 2022-08-03 22:07:24 +02:00 committed by GitHub
commit ec169916d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 307 additions and 161 deletions

View file

@ -50,7 +50,7 @@ jobs:
ref: ${{ github.event.release.target_commitish }}
token: ${{ secrets.BOTTY_GITHUB_TOKEN }}
- uses: Swatinem/rust-cache@v1.4.0
- uses: Swatinem/rust-cache@v2.0.0
- name: Install compiler for armhf arch
if: matrix.target == 'armv7-unknown-linux-gnueabihf'
@ -67,7 +67,7 @@ jobs:
run: target/${{ matrix.target }}/release/${{ matrix.bin }} --help
# Remove once python 3 is the default
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"

View file

@ -15,11 +15,10 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3.0.2
- uses: Swatinem/rust-cache@v1.4.0
- uses: Swatinem/rust-cache@v2.0.0
- name: Check formatting
uses: dprint/check@v2.0
uses: dprint/check@v2.1
- name: Run clippy with default features
run: cargo clippy --workspace --all-targets -- -D warnings
@ -44,7 +43,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3.0.2
- uses: Swatinem/rust-cache@v1.4.0
- uses: Swatinem/rust-cache@v2.0.0
- name: Install compiler for armhf arch
if: matrix.target == 'armv7-unknown-linux-gnueabihf'
@ -77,7 +76,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3.0.2
- uses: Swatinem/rust-cache@v1.4.0
- uses: Swatinem/rust-cache@v2.0.0
- name: Build tests
run: cargo build --tests --workspace --all-features
@ -113,7 +112,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3.0.2
- uses: Swatinem/rust-cache@v1.4.0
- uses: Swatinem/rust-cache@v2.0.0
- name: Run test ${{ matrix.test_name }}
run: cargo test --package swap --all-features --test ${{ matrix.test_name }} -- --nocapture