From 91e2905860371e39ee21969c0119bf95065399cd Mon Sep 17 00:00:00 2001 From: runningwater Date: Tue, 30 Jul 2024 18:37:08 +0800 Subject: [PATCH] fix action script error --- .github/workflows/rust.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ffd219e..8fa45ec 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -40,11 +40,11 @@ jobs: - name: Rust cache cleanup uses: Swatinem/rust-cache@v2 with: - key: sqlx-${{env.SQLX_VERSION}} + key: sqlx-${{ env.SQLX_VERSION }} - name: Install slqx-client run: cargo install sqlx-cli - --version={{env.SQLX_VERSION}} - --features ${{env.SQLX_FEATURES}} + --version=${{ env.SQLX_VERSION }} + --features ${{ env.SQLX_FEATURES }} --no-default-features --locked - name: Install postgresql-client @@ -84,11 +84,11 @@ jobs: components: clippy - uses: Swatinem/rust-cache@v2 with: - key: sqlx-${{env.SQLX_VERSION}} + key: sqlx-${{ env.SQLX_VERSION }} - name: Install sqlx-client run: cargo install sqlx-cli - --version={{env.SQLX_VERSION}} - --features ${{env.SQLX_FEATURES}} + --version=${{ env.SQLX_VERSION }} + --features ${{ env.SQLX_FEATURES }} --no-default-features --locked - name: Install postgresql-client