Skip to content

Commit f7f564a

Browse files
committed
CI: enable encoding verifier
1 parent 379d379 commit f7f564a

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ indent_style = space
66
indent_size = 4
77
trim_trailing_whitespace = true
88
insert_final_newline = true
9+
10+
[*.yml]
11+
indent_size = 2

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
branches:
7+
- master
8+
schedule:
9+
- cron: '0 0 * * 6' # every Saturday
10+
workflow_dispatch:
11+
12+
jobs:
13+
encoding:
14+
runs-on: ubuntu-24.04
15+
steps:
16+
- name: Check out the repository
17+
uses: actions/checkout@v4
18+
19+
- name: Verify encoding
20+
shell: pwsh
21+
run: Install-Module VerifyEncoding -Repository PSGallery -RequiredVersion 2.2.0 -Force && Test-Encoding

renovate.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,18 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:recommended"
5+
],
6+
"customManagers": [
7+
{
8+
"customType": "regex",
9+
"fileMatch": [
10+
"^\\.github/workflows/.+\\.yml$"
11+
],
12+
"matchStrings": [
13+
"Install-Module (?<depName>\\S+?) -RequiredVersion (?<currentValue>\\S+)"
14+
],
15+
"datasourceTemplate": "nuget",
16+
"registryUrlTemplate": "https://www.powershellgallery.com/api/v2/"
17+
}
518
]
619
}

0 commit comments

Comments
 (0)