File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 6161 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6262 - name : Run clippy
6363 run : |
64- cargo lint
64+ cargo clippy
6565 cargo run -p rules_check
6666
6767 check-dependencies :
8282 test :
8383 name : Test
8484 runs-on : ${{ matrix.os }}
85+ services :
86+ postgres :
87+ image : postgres:latest
88+ env :
89+ POSTGRES_USER : postgres
90+ POSTGRES_PASSWORD : postgres
91+ POSTGRES_DB : postgres
92+ ports :
93+ - 5432:5432
8594 strategy :
8695 matrix :
8796 include :
@@ -116,9 +125,9 @@ jobs:
116125 env :
117126 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
118127 - name : Run the analyser codegen
119- run : cargo codegen analyser
128+ run : cargo run -p xtask_codegen -- analyser
120129 - name : Run the configuration codegen
121- run : cargo codegen- configuration
130+ run : cargo run -p xtask_codegen -- configuration
122131 - name : Check for git diff
123132 run : |
124133 if [[ `git status --porcelain` ]]; then
Original file line number Diff line number Diff line change @@ -104,9 +104,11 @@ test-doc:
104104# Alias for `cargo clippy`, it runs clippy on the whole codebase
105105lint :
106106 cargo clippy
107+ cargo run -p rules_check
107108
108109lint-fix :
109110 cargo clippy --fix
111+ cargo run -p rules_check
110112
111113# When you finished coding, run this command to run the same commands in the CI.
112114# ready:
You can’t perform that action at this time.
0 commit comments