File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 18
18
"labels" : [ "A-backend" ] ,
19
19
} ,
20
20
"regexManagers" : [
21
+ {
22
+ "fileMatch" : [ "^.github/workflows/[^\\.]+\\.ya?ml$" ] ,
23
+ "matchStrings" : [ "CARGO_TARPAULIN_VERSION:\\s*(?<currentValue>.*?)\n" ] ,
24
+ "depNameTemplate" : "cargo-tarpaulin" ,
25
+ "datasourceTemplate" : "crate" ,
26
+ "versioningTemplate" : "semver"
27
+ } ,
28
+ {
29
+ "fileMatch" : [ "^.github/workflows/[^\\.]+\\.ya?ml$" ] ,
30
+ "matchStrings" : [ "DIESEL_CLI_VERSION:\\s*(?<currentValue>.*?)\n" ] ,
31
+ "depNameTemplate" : "diesel_cli" ,
32
+ "datasourceTemplate" : "crate" ,
33
+ "versioningTemplate" : "semver" ,
34
+ } ,
21
35
{
22
36
"fileMatch" : [ "^.github/workflows/[^\\.]+\\.ya?ml$" ] ,
23
37
"matchStrings" : [ "NODE_VERSION:\\s*(?<currentValue>.*?)\n" ] ,
Original file line number Diff line number Diff line change 10
10
pull_request :
11
11
12
12
env :
13
+ DIESEL_CLI_VERSION : 1.4.1
13
14
NODE_VERSION : 16.13.1
14
15
RUST_VERSION : 1.57.0
15
16
@@ -137,7 +138,7 @@ jobs:
137
138
138
139
- name : Setup database
139
140
run : |
140
- cargo install diesel_cli --vers $(cat .diesel_version) --no-default-features --features postgres --debug
141
+ cargo install diesel_cli --vers ${{ env.DIESEL_CLI_VERSION }} --no-default-features --features postgres --debug
141
142
diesel database setup --locked-schema
142
143
143
144
- name : Run tests
Original file line number Diff line number Diff line change 7
7
- master
8
8
9
9
env :
10
+ CARGO_TARPAULIN_VERSION : 0.18.0-alpha.3
11
+ DIESEL_CLI_VERSION : 1.4.1
10
12
RUST_VERSION : 1.57.0
11
13
12
14
jobs :
43
45
- uses : Swatinem/rust-cache@v1.3.0
44
46
45
47
# Set up database
46
- - run : cargo install diesel_cli --vers $(cat .diesel_version) --no-default-features --features postgres --debug
48
+ - run : cargo install diesel_cli --vers ${{ env.DIESEL_CLI_VERSION }} --no-default-features --features postgres --debug
47
49
- run : diesel database setup --locked-schema
48
50
49
51
# Set up cargo-tarpaulin and run the tests
50
- - run : cargo install cargo-tarpaulin --version ~0.18.0-alpha.3
52
+ - run : cargo install cargo-tarpaulin --version ${{ env.CARGO_TARPAULIN_VERSION }}
51
53
- run : cargo tarpaulin --avoid-cfg-tarpaulin --workspace
You can’t perform that action at this time.
0 commit comments