File tree Expand file tree Collapse file tree 2 files changed +10
-19
lines changed Expand file tree Collapse file tree 2 files changed +10
-19
lines changed Original file line number Diff line number Diff line change 65
65
66
66
- uses : Swatinem/rust-cache@v2.2.0
67
67
68
- - name : Setup database
69
- run : |
70
- cargo install diesel_cli --vers ${{ env.DIESEL_CLI_VERSION }} --no-default-features --features postgres --debug
71
- diesel database setup --locked-schema
68
+ - run : cargo install diesel_cli --vers ${{ env.DIESEL_CLI_VERSION }} --no-default-features --features postgres --debug
69
+ - run : diesel database setup --locked-schema
72
70
73
- - name : Run tests
74
- run : cargo test --workspace
71
+ - run : cargo test --workspace
Original file line number Diff line number Diff line change @@ -27,14 +27,11 @@ jobs:
27
27
cache : pnpm
28
28
node-version-file : package.json
29
29
30
- - name : Install node modules
31
- run : pnpm install
30
+ - run : pnpm install
32
31
33
- - name : Lint
34
- run : |
35
- pnpm lint:hbs
36
- pnpm lint:js
37
- pnpm lint:deps
32
+ - run : pnpm lint:hbs
33
+ - run : pnpm lint:js
34
+ - run : pnpm lint:deps
38
35
39
36
test :
40
37
runs-on : ubuntu-20.04
@@ -58,13 +55,10 @@ jobs:
58
55
cache : pnpm
59
56
node-version-file : package.json
60
57
61
- - name : Install node modules
62
- run : pnpm install
58
+ - run : pnpm install
63
59
64
- - name : Run percy exec
65
- if : github.repository == 'rust-lang/crates.io'
60
+ - if : github.repository == 'rust-lang/crates.io'
66
61
run : pnpm percy exec -- pnpm test-coverage
67
62
68
- - name : test-coverage
69
- if : github.repository != 'rust-lang/crates.io'
63
+ - if : github.repository != 'rust-lang/crates.io'
70
64
run : pnpm test-coverage
You can’t perform that action at this time.
0 commit comments