Update snippet versions and links (#956)
This commit is contained in:
Родитель
16adea1be0
Коммит
b75508a498
|
@ -19,3 +19,4 @@ ps-rule.yaml
|
|||
ps-project.yaml
|
||||
SECURITY.md
|
||||
SUPPORT.md
|
||||
.markdownlint.json
|
||||
|
|
|
@ -29,6 +29,9 @@ Continue reading to see the changes included in the latest version.
|
|||
|
||||
What's changed since v2.6.0:
|
||||
|
||||
- General improvement:
|
||||
- Update snippet versions and links by @BernieWhite
|
||||
[#955](https://github.com/microsoft/PSRule-vscode/issues/955)
|
||||
- Engineering:
|
||||
- Bump vscode engine to v1.74.0.
|
||||
[#952](https://github.com/microsoft/PSRule-vscode/pull/952)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
- First, type `requires` and press Tab or Enter to complete the suggestion.
|
||||
- Continue typing to replace `Module` with `PSRule` and press Tab or Enter to move to the version constraint.
|
||||
- Replace `'>=1.0.0'` with the minimum version of PSRule you want to use, such as `'>=2.3.2'`.
|
||||
- Replace `'>=1.0.0'` with the minimum version of PSRule you want to use, such as `'>=2.6.0'`.
|
||||
|
||||
## Configure additional modules
|
||||
|
||||
|
@ -13,8 +13,8 @@ For example:
|
|||
|
||||
```yaml
|
||||
requires:
|
||||
PSRule: '>=2.3.2'
|
||||
PSRule.Rules.Azure: '>=1.18.1'
|
||||
PSRule: '>=2.6.0'
|
||||
PSRule.Rules.Azure: '>=1.22.1'
|
||||
```
|
||||
|
||||
### Configure other options
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
"name": "01_requiresModules",
|
||||
"snippet": [
|
||||
"requires:",
|
||||
" PSRule: '>=2.3.2'",
|
||||
" PSRule.Rules.Azure: '>=1.18.1'"
|
||||
" PSRule: '>=2.6.0'",
|
||||
" PSRule.Rules.Azure: '>=1.22.1'"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
" uses: actions/checkout@v3",
|
||||
"",
|
||||
" - name: Run PSRule analysis",
|
||||
" uses: Microsoft/ps-rule@v2.3.2",
|
||||
" uses: Microsoft/ps-rule@v2.6.0",
|
||||
" with:",
|
||||
" modules: ${1}"
|
||||
]
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"# https://aka.ms/ps-rule/options",
|
||||
"",
|
||||
"requires:",
|
||||
" PSRule: '@pre >=2.0.0'",
|
||||
" PSRule: '@pre >=2.6.0'",
|
||||
"",
|
||||
"output:",
|
||||
" culture:",
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
"# For PSRule documentation see:",
|
||||
"# https://aka.ms/ps-rule",
|
||||
"",
|
||||
"# For action details see:",
|
||||
"# https://aka.ms/ps-rule-action",
|
||||
"# For pipeline task details see:",
|
||||
"# https://aka.ms/ps-rule-pipelines",
|
||||
"",
|
||||
"# Run for main or PRs against main",
|
||||
"trigger:",
|
||||
|
|
Загрузка…
Ссылка в новой задаче