From 42c082085cfd7238c7ab87e5bd06b9e52a698a71 Mon Sep 17 00:00:00 2001 From: fx Date: Sat, 21 Oct 2023 21:47:16 +0200 Subject: fixed move of init_db_pool --- .github/workflows/pull_request.yml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to '.github/workflows/pull_request.yml') diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 9a1d005..ed01e9e 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -12,7 +12,7 @@ env: CARGO_TERM_COLOR: always jobs: - test: + check: runs-on: ubuntu-latest steps: - name: Run sccache-cache @@ -35,7 +35,25 @@ jobs: with: command: clippy - - name: run test + check-release: + runs-on: ubuntu-latest + steps: + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.3 + + - uses: actions/checkout@v4 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + components: rustfmt, clippy + override: true + + - name: run cargo check + uses: actions-rs/cargo@v1 + with: + command: check --release + + - name: run clippy uses: actions-rs/cargo@v1 with: - command: test + command: clippy --release -- cgit v1.2.3