Skip to content

Commit 90b4b96

Browse files
committed
Fix checks
1 parent e9fc8ac commit 90b4b96

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/audit.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
- name: Checkout
2020
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2121

22+
- name: Install cargo audit
23+
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
24+
with:
25+
command: install
26+
args: --force cargo-audit
27+
2228
- name: Audit server
2329
run: cargo audit --deny warnings --ignore RUSTSEC-2022-0071 # includes exception for unmaintained rusoto crate, should be resolved by #134
2430

.github/workflows/checks.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
on:
2-
push:
32
pull_request:
43

54
name: Checks
@@ -57,7 +56,7 @@ jobs:
5756
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
5857
with:
5958
command: install
60-
args: --force diesel_cli
59+
args: --force diesel_cli --no-default-features --features "postgres"
6160

6261
- name: Run db migration
6362
run: diesel migration run

0 commit comments

Comments
 (0)