Fix CI warnings (#2620)
This commit is contained in:
parent
aade3ab2ae
commit
cb379ab69b
4 changed files with 80 additions and 236 deletions
22
.github/workflows/bench.yml
vendored
22
.github/workflows/bench.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -32,31 +32,19 @@ jobs:
|
||||||
ref: ${{ github.base_ref }}
|
ref: ${{ github.base_ref }}
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Benchmark baseline
|
- name: Benchmark baseline
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make bench-baseline
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: bench-baseline
|
|
||||||
|
|
||||||
- name: Checkout changes
|
- name: Checkout changes
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Benchmark changes
|
- name: Benchmark changes
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make bench-changes
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: bench-changes
|
|
||||||
|
|
||||||
- name: Benchmark results
|
- name: Benchmark results
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make bench-compare
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: bench-compare
|
|
||||||
|
|
||||||
- name: Save results as artifact
|
- name: Save results as artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
|
|
212
.github/workflows/ci.yml
vendored
212
.github/workflows/ci.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
|
@ -34,16 +34,10 @@ jobs:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Check format
|
- name: Check format
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-format
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-format
|
|
||||||
|
|
||||||
check:
|
check:
|
||||||
name: Check workspace
|
name: Check workspace
|
||||||
|
@ -51,7 +45,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -68,16 +62,10 @@ jobs:
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Check workspace
|
- name: Check workspace
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-check
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-check
|
|
||||||
|
|
||||||
check-wasm:
|
check-wasm:
|
||||||
name: Check Wasm
|
name: Check Wasm
|
||||||
|
@ -85,7 +73,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
targets: wasm32-unknown-unknown
|
targets: wasm32-unknown-unknown
|
||||||
|
@ -99,16 +87,10 @@ jobs:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Check wasm
|
- name: Check wasm
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-check-wasm
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-check-wasm
|
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
name: Check clippy
|
name: Check clippy
|
||||||
|
@ -116,7 +98,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
components: clippy
|
components: clippy
|
||||||
|
@ -134,16 +116,10 @@ jobs:
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-clippy
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-clippy
|
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
name: CLI integration tests
|
name: CLI integration tests
|
||||||
|
@ -151,7 +127,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -168,16 +144,10 @@ jobs:
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Run CLI integration tests
|
- name: Run CLI integration tests
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-cli-integration
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-cli-integration
|
|
||||||
|
|
||||||
- name: Debug info
|
- name: Debug info
|
||||||
if: always()
|
if: always()
|
||||||
|
@ -195,7 +165,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -212,16 +182,10 @@ jobs:
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Run HTTP integration tests
|
- name: Run HTTP integration tests
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-http-integration
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-http-integration
|
|
||||||
|
|
||||||
ws-server:
|
ws-server:
|
||||||
name: WebSocket integration tests
|
name: WebSocket integration tests
|
||||||
|
@ -229,7 +193,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -246,16 +210,10 @@ jobs:
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Run WS integration tests
|
- name: Run WS integration tests
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-ws-integration
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-ws-integration
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Test workspace
|
name: Test workspace
|
||||||
|
@ -263,7 +221,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -294,16 +252,10 @@ jobs:
|
||||||
uses: taiki-e/install-action@cargo-llvm-cov
|
uses: taiki-e/install-action@cargo-llvm-cov
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test workspace + coverage
|
- name: Test workspace + coverage
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-workspace-coverage
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-workspace-coverage
|
|
||||||
|
|
||||||
- name: Upload coverage report
|
- name: Upload coverage report
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
@ -320,7 +272,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -337,21 +289,15 @@ jobs:
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
- name: Setup FoundationDB
|
- name: Setup FoundationDB
|
||||||
uses: foundationdb-rs/foundationdb-actions-install@v2.0.0
|
uses: foundationdb-rs/foundationdb-actions-install@v2.1.0
|
||||||
with:
|
with:
|
||||||
version: "7.1.30"
|
version: "7.1.30"
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test ws engine
|
- name: Test ws engine
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-api-integration-ws
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-api-integration-ws
|
|
||||||
|
|
||||||
- name: Debug info
|
- name: Debug info
|
||||||
if: always()
|
if: always()
|
||||||
|
@ -368,7 +314,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -385,21 +331,15 @@ jobs:
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
- name: Setup FoundationDB
|
- name: Setup FoundationDB
|
||||||
uses: foundationdb-rs/foundationdb-actions-install@v2.0.0
|
uses: foundationdb-rs/foundationdb-actions-install@v2.1.0
|
||||||
with:
|
with:
|
||||||
version: "7.1.30"
|
version: "7.1.30"
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test http engine
|
- name: Test http engine
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-api-integration-http
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-api-integration-http
|
|
||||||
|
|
||||||
- name: Debug info
|
- name: Debug info
|
||||||
if: always()
|
if: always()
|
||||||
|
@ -416,7 +356,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -433,21 +373,15 @@ jobs:
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
- name: Setup FoundationDB
|
- name: Setup FoundationDB
|
||||||
uses: foundationdb-rs/foundationdb-actions-install@v2.0.0
|
uses: foundationdb-rs/foundationdb-actions-install@v2.1.0
|
||||||
with:
|
with:
|
||||||
version: "7.1.30"
|
version: "7.1.30"
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test any engine
|
- name: Test any engine
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-api-integration-any
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-api-integration-any
|
|
||||||
|
|
||||||
- name: Debug info
|
- name: Debug info
|
||||||
if: always()
|
if: always()
|
||||||
|
@ -464,7 +398,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -477,16 +411,10 @@ jobs:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test mem engine
|
- name: Test mem engine
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-api-integration-mem
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-api-integration-mem
|
|
||||||
|
|
||||||
file-engine:
|
file-engine:
|
||||||
name: File engine
|
name: File engine
|
||||||
|
@ -494,7 +422,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -507,16 +435,10 @@ jobs:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test file engine
|
- name: Test file engine
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-api-integration-file
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-api-integration-file
|
|
||||||
|
|
||||||
rocksdb-engine:
|
rocksdb-engine:
|
||||||
name: RocksDB engine
|
name: RocksDB engine
|
||||||
|
@ -524,7 +446,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -537,16 +459,10 @@ jobs:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test rocksdb engine
|
- name: Test rocksdb engine
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-api-integration-rocksdb
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-api-integration-rocksdb
|
|
||||||
|
|
||||||
speedb-engine:
|
speedb-engine:
|
||||||
name: SpeeDB engine
|
name: SpeeDB engine
|
||||||
|
@ -554,7 +470,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -567,16 +483,10 @@ jobs:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test speedb engine
|
- name: Test speedb engine
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-api-integration-speedb
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-api-integration-speedb
|
|
||||||
|
|
||||||
tikv-engine:
|
tikv-engine:
|
||||||
name: TiKV engine
|
name: TiKV engine
|
||||||
|
@ -584,7 +494,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -606,16 +516,10 @@ jobs:
|
||||||
~/.tiup/bin/tiup -v
|
~/.tiup/bin/tiup -v
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test tikv engine
|
- name: Test tikv engine
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-api-integration-tikv
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-api-integration-tikv
|
|
||||||
|
|
||||||
- name: Debug info
|
- name: Debug info
|
||||||
if: always()
|
if: always()
|
||||||
|
@ -632,7 +536,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -645,21 +549,15 @@ jobs:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
|
|
||||||
- name: Setup FoundationDB
|
- name: Setup FoundationDB
|
||||||
uses: foundationdb-rs/foundationdb-actions-install@v2.0.0
|
uses: foundationdb-rs/foundationdb-actions-install@v2.1.0
|
||||||
with:
|
with:
|
||||||
version: "7.1.30"
|
version: "7.1.30"
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test fdb engine
|
- name: Test fdb engine
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-api-integration-fdb
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-api-integration-fdb
|
|
||||||
|
|
||||||
- name: Debug info
|
- name: Debug info
|
||||||
if: always()
|
if: always()
|
||||||
|
|
41
.github/workflows/nightly.yml
vendored
41
.github/workflows/nightly.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -48,16 +48,10 @@ jobs:
|
||||||
uses: taiki-e/install-action@cargo-llvm-cov
|
uses: taiki-e/install-action@cargo-llvm-cov
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test workspace + coverage
|
- name: Test workspace + coverage
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-workspace-coverage
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-workspace-coverage
|
|
||||||
|
|
||||||
- name: Debug info
|
- name: Debug info
|
||||||
if: always()
|
if: always()
|
||||||
|
@ -88,41 +82,26 @@ jobs:
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
targets: wasm32-unknown-unknown
|
targets: wasm32-unknown-unknown
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Check workspace
|
- name: Check workspace
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-check
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-check
|
|
||||||
|
|
||||||
- name: Check format
|
- name: Check format
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-format
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-format
|
|
||||||
|
|
||||||
- name: Check wasm
|
- name: Check wasm
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-check-wasm
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-check-wasm
|
|
||||||
|
|
||||||
- name: Check clippy
|
- name: Check clippy
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-clippy
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-clippy
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build ${{ matrix.arch }}
|
name: Build ${{ matrix.arch }}
|
||||||
|
@ -186,7 +165,7 @@ jobs:
|
||||||
rm -rf foundationdb-clients_6.3.23-1_amd64.deb
|
rm -rf foundationdb-clients_6.3.23-1_amd64.deb
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
targets: ${{ matrix.arch }}
|
targets: ${{ matrix.arch }}
|
||||||
|
|
41
.github/workflows/release.yml
vendored
41
.github/workflows/release.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
|
|
||||||
|
@ -48,16 +48,10 @@ jobs:
|
||||||
uses: taiki-e/install-action@cargo-llvm-cov
|
uses: taiki-e/install-action@cargo-llvm-cov
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Test workspace + coverage
|
- name: Test workspace + coverage
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-workspace-coverage
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-workspace-coverage
|
|
||||||
|
|
||||||
- name: Debug info
|
- name: Debug info
|
||||||
if: always()
|
if: always()
|
||||||
|
@ -88,41 +82,26 @@ jobs:
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
targets: wasm32-unknown-unknown
|
targets: wasm32-unknown-unknown
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --debug cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
|
|
||||||
- name: Check workspace
|
- name: Check workspace
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-check
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-check
|
|
||||||
|
|
||||||
- name: Check format
|
- name: Check format
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-format
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-format
|
|
||||||
|
|
||||||
- name: Check wasm
|
- name: Check wasm
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-check-wasm
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-check-wasm
|
|
||||||
|
|
||||||
- name: Check clippy
|
- name: Check clippy
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make ci-clippy
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: ci-clippy
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build ${{ matrix.arch }}
|
name: Build ${{ matrix.arch }}
|
||||||
|
@ -186,7 +165,7 @@ jobs:
|
||||||
rm -rf foundationdb-clients_6.3.23-1_amd64.deb
|
rm -rf foundationdb-clients_6.3.23-1_amd64.deb
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.71.1
|
toolchain: 1.71.1
|
||||||
targets: ${{ matrix.arch }}
|
targets: ${{ matrix.arch }}
|
||||||
|
|
Loading…
Reference in a new issue