From 9ec2874cdb5f6118659657331fb6bd347e08a244 Mon Sep 17 00:00:00 2001 From: Rodney Lab Date: Thu, 31 Oct 2024 08:35:53 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=90=9D=20update=20CI=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/general.yml | 6 +++--- .github/workflows/pre-commit.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/general.yml b/.github/workflows/general.yml index 341ceb0..00a6f62 100644 --- a/.github/workflows/general.yml +++ b/.github/workflows/general.yml @@ -35,7 +35,7 @@ jobs: - uses: dtolnay/rust-toolchain@4f366e621dc8fa63f557ca04b8f4361824a35a45 # stable - name: Install sqlx-cli if: steps.cache-sqlx.outputs.cache-hit == false - run: cargo install sqlx-cli --force --version=${{ env.SQLX_VERSION}} --features=${{ env.SQLX_FEATURES}} --no-default-features --locked + run: cargo install sqlx-cli --force --version=${{ env.SQLX_VERSION}} --features=${{ env.SQLX_FEATURES}} --no-default-features - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Migrate database run: ./scripts/init_db.sh @@ -88,7 +88,7 @@ jobs: components: clippy - name: Install sqlx-cli if: steps.cache-sqlx.outputs.cache-hit == false - run: cargo install sqlx-cli --force --version=${{ env.SQLX_VERSION }} --features=${{ env.SQLX_FEATURES }} --no-default-features --locked + run: cargo install sqlx-cli --force --version=${{ env.SQLX_VERSION }} --features=${{ env.SQLX_FEATURES }} --no-default-features - name: Migrate database run: ./scripts/init_db.sh - name: Linting @@ -131,7 +131,7 @@ jobs: components: llvm-tools-preview - name: Install sqlx-cli if: steps.cache-sqlx.outputs.cache-hit == false - run: cargo install sqlx-cli --force --version=${{ env.SQLX_VERSION}} --features=${{ env.SQLX_FEATURES}} --no-default-features --locked + run: cargo install sqlx-cli --force --version=${{ env.SQLX_VERSION}} --features=${{ env.SQLX_FEATURES}} --no-default-features - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install grcov diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index f6dc516..f5fa5b3 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -30,7 +30,7 @@ jobs: - uses: dtolnay/rust-toolchain@4f366e621dc8fa63f557ca04b8f4361824a35a45 # stable - name: Install sqlx-cli if: steps.cache-sqlx.outputs.cache-hit == false - run: cargo install sqlx-cli --force --version=${{ env.SQLX_VERSION}} --features=${{ env.SQLX_FEATURES}} --no-default-features --locked + run: cargo install sqlx-cli --force --version=${{ env.SQLX_VERSION}} --features=${{ env.SQLX_FEATURES}} --no-default-features - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: '3.13'