@@ -42,10 +42,10 @@ jobs:
42
42
43
43
- name : Build release
44
44
if : matrix.config.kind == 'test_release'
45
- run : cargo build --target wasm32-unknown-unknown --features "wasm" --release --verbose --locked
45
+ run : cargo build --target wasm32-unknown-unknown --features "wasm" --release --verbose
46
46
- name : Test release
47
47
if : matrix.config.kind == 'test_release'
48
- run : cargo test --release --verbose --locked
48
+ run : cargo test --release --verbose
49
49
50
50
- name : Get tag version
51
51
if : matrix.config.kind == 'test_release' && startsWith(github.ref, 'refs/tags/')
@@ -69,25 +69,25 @@ jobs:
69
69
body : |
70
70
## Install
71
71
72
- In *.dprintrc.json*:
72
+ [Install](https://dprint.dev/install/) and [setup](https://dprint.dev/setup/) dprint.
73
73
74
- 1. Specify the plugin url in the `"plugins"` array:
75
- ```jsonc
76
- {
77
- // etc...
78
- "plugins": [
79
- "https://plugins.dprint.dev/typescript-${{ steps.get_tag_version.outputs.TAG_VERSION }}.wasm"
80
- ]
81
- }
82
- ```
83
- 2. Ensure `.{ts,tsx,js,jsx,mjs}` file extensions are matched in an `"includes"` pattern.
74
+ Then in your project's *.dprintrc.json*:
75
+
76
+ 1. Specify the plugin url in the `"plugins"` array.
77
+ 2. Ensure `.ts`, `.tsx`, `.js`, `.jsx`, `.mjs` file extensions are matched in an `"includes"` pattern.
84
78
3. Add a `"typescript"` configuration property if desired.
85
79
```jsonc
86
80
{
87
81
// ...etc...
88
82
"typescript": {
89
83
// TypeScript & JavaScript config goes here
90
- }
84
+ },
85
+ "includes": [
86
+ "**/*.{ts,tsx,js,jsx,mjs}"
87
+ ],
88
+ "plugins": [
89
+ "https://plugins.dprint.dev/json-${{ steps.get_tag_version.outputs.TAG_VERSION }}.wasm"
90
+ ]
91
91
}
92
92
```
93
93
draft : true
0 commit comments