diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index ac787f4..c4b37fe 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install Rust + - name: Install Rust (${{ matrix.version }}) uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 with: toolchain: ${{ matrix.version }} @@ -44,7 +44,8 @@ jobs: - name: Start Redis uses: supercharge/redis-github-action@1.5.0 - with: { redis-version: 6 } + with: + redis-version: 6 - name: cargo test run: cargo test --workspace --all-features --no-fail-fast --exclude=diesel-example -- --nocapture diff --git a/Cargo.toml b/Cargo.toml index fd347fd..b1cb7ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] +resolver = "2" members = [ "auth/casbin", "auth/cookie-auth", @@ -65,10 +66,11 @@ members = [ "websockets/echo-actorless", "websockets/echo", ] -resolver = "2" [workspace.package] +publish = false edition = "2021" +rust-version = "1.72" [workspace.dependencies] actix = "0.13"