Skip to content

Commit

Permalink
ci: 🐝 update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneylab committed Oct 31, 2024
1 parent 6d465a9 commit 9ec2874
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 9ec2874

Please sign in to comment.