aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pull_request.yml
diff options
context:
space:
mode:
authorfx <[email protected]>2023-10-21 21:47:16 +0200
committerfx <[email protected]>2023-10-21 21:47:16 +0200
commit42c082085cfd7238c7ab87e5bd06b9e52a698a71 (patch)
tree43c4f4a3fed1421f94765cf5f2a53af26a25c50d /.github/workflows/pull_request.yml
parente8a8b2d33eec5da6701b04181b14de755e8b8063 (diff)
downloadwebol-42c082085cfd7238c7ab87e5bd06b9e52a698a71.tar
webol-42c082085cfd7238c7ab87e5bd06b9e52a698a71.tar.gz
webol-42c082085cfd7238c7ab87e5bd06b9e52a698a71.zip
fixed move of init_db_pool
Diffstat (limited to '.github/workflows/pull_request.yml')
-rw-r--r--.github/workflows/pull_request.yml24
1 files changed, 21 insertions, 3 deletions
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:
12 CARGO_TERM_COLOR: always 12 CARGO_TERM_COLOR: always
13 13
14jobs: 14jobs:
15 test: 15 check:
16 runs-on: ubuntu-latest 16 runs-on: ubuntu-latest
17 steps: 17 steps:
18 - name: Run sccache-cache 18 - name: Run sccache-cache
@@ -35,7 +35,25 @@ jobs:
35 with: 35 with:
36 command: clippy 36 command: clippy
37 37
38 - name: run test 38 check-release:
39 runs-on: ubuntu-latest
40 steps:
41 - name: Run sccache-cache
42 uses: mozilla-actions/[email protected]
43
44 - uses: actions/checkout@v4
45 - uses: actions-rs/toolchain@v1
46 with:
47 toolchain: stable
48 components: rustfmt, clippy
49 override: true
50
51 - name: run cargo check
52 uses: actions-rs/cargo@v1
53 with:
54 command: check --release
55
56 - name: run clippy
39 uses: actions-rs/cargo@v1 57 uses: actions-rs/cargo@v1
40 with: 58 with:
41 command: test 59 command: clippy --release