Skip to content

Commit b992bb5

Browse files
committed
CI: Remove redundant name options
1 parent 573c7d7 commit b992bb5

File tree

2 files changed

+10
-19
lines changed

2 files changed

+10
-19
lines changed

.github/workflows/ci-backend.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ jobs:
6565
6666
- uses: Swatinem/rust-cache@v2.2.0
6767

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
7270

73-
- name: Run tests
74-
run: cargo test --workspace
71+
- run: cargo test --workspace

.github/workflows/ci-frontend.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,11 @@ jobs:
2727
cache: pnpm
2828
node-version-file: package.json
2929

30-
- name: Install node modules
31-
run: pnpm install
30+
- run: pnpm install
3231

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
3835

3936
test:
4037
runs-on: ubuntu-20.04
@@ -58,13 +55,10 @@ jobs:
5855
cache: pnpm
5956
node-version-file: package.json
6057

61-
- name: Install node modules
62-
run: pnpm install
58+
- run: pnpm install
6359

64-
- name: Run percy exec
65-
if: github.repository == 'rust-lang/crates.io'
60+
- if: github.repository == 'rust-lang/crates.io'
6661
run: pnpm percy exec -- pnpm test-coverage
6762

68-
- name: test-coverage
69-
if: github.repository != 'rust-lang/crates.io'
63+
- if: github.repository != 'rust-lang/crates.io'
7064
run: pnpm test-coverage

0 commit comments

Comments
 (0)