File tree 2 files changed +14
-3
lines changed 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 61
61
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62
62
- name : Run clippy
63
63
run : |
64
- cargo lint
64
+ cargo clippy
65
65
cargo run -p rules_check
66
66
67
67
check-dependencies :
82
82
test :
83
83
name : Test
84
84
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
85
94
strategy :
86
95
matrix :
87
96
include :
@@ -116,9 +125,9 @@ jobs:
116
125
env :
117
126
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
118
127
- name : Run the analyser codegen
119
- run : cargo codegen analyser
128
+ run : cargo run -p xtask_codegen -- analyser
120
129
- name : Run the configuration codegen
121
- run : cargo codegen- configuration
130
+ run : cargo run -p xtask_codegen -- configuration
122
131
- name : Check for git diff
123
132
run : |
124
133
if [[ `git status --porcelain` ]]; then
Original file line number Diff line number Diff line change @@ -104,9 +104,11 @@ test-doc:
104
104
# Alias for `cargo clippy`, it runs clippy on the whole codebase
105
105
lint :
106
106
cargo clippy
107
+ cargo run -p rules_check
107
108
108
109
lint-fix :
109
110
cargo clippy --fix
111
+ cargo run -p rules_check
110
112
111
113
# When you finished coding, run this command to run the same commands in the CI.
112
114
# ready:
You can’t perform that action at this time.
0 commit comments