Skip to content
This repository was archived by the owner on Dec 28, 2021. It is now read-only.

Commit 5772d39

Browse files
Add fmt install to CI.
1 parent 20b49d1 commit 5772d39

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/gui-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ jobs:
112112
run: npm install --save-dev --save-exact prettier
113113
- name: Install Clippy
114114
run: rustup component add clippy
115+
- name: Install Clippy
116+
run: rustup component add rustfmt
115117
- name: Lint Markdown sources
116118
run: npx prettier --check '*.md'
117119
- name: Lint JavaScript sources

build/workflow.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ let installClippy = {
123123
run: "rustup component add clippy"
124124
}
125125

126+
let installFmt = {
127+
name: "Install Clippy",
128+
run: "rustup component add rustfmt"
129+
}
130+
126131
// Install fixed version to avoid upgrading to a breaking version.
127132
// Should be removed once this has a better solution as described here:
128133
// https://github.com/enso-org/ide/issues/1772
@@ -469,6 +474,7 @@ let workflow = {
469474
installRust,
470475
installPrettier,
471476
installClippy,
477+
installFmt,
472478
lintMarkdown,
473479
lintJavaScript,
474480
lintRust

0 commit comments

Comments
 (0)