|
32 | 32 | - name: Compile the conventions solution
|
33 | 33 | run: dotnet build --configuration Release conventions.sln
|
34 | 34 | - name: Compile F# scripts
|
35 |
| - run: dotnet fsi scripts/compileFSharpScripts.fsx |
| 35 | + run: dotnet fsi scripts/compile_fsharp_scripts.fsx |
36 | 36 |
|
37 | 37 | file-conventions-tests:
|
38 | 38 | name: Run FileConventions-lib unit tests
|
@@ -166,30 +166,32 @@ jobs:
|
166 | 166 | apt install --yes --no-install-recommends dotnet6
|
167 | 167 |
|
168 | 168 | - name: Check all files end with EOL
|
169 |
| - run: dotnet fsi scripts/eofConvention.fsx |
| 169 | + run: dotnet fsi scripts/eof_convention.fsx |
170 | 170 | - name: Check all .fsx scripts have shebang
|
171 |
| - run: dotnet fsi scripts/shebangConvention.fsx |
| 171 | + run: dotnet fsi scripts/shebang_convention.fsx |
172 | 172 | - name: Check all F# scripts have execute permission
|
173 |
| - run: dotnet fsi scripts/executableConvention.fsx |
| 173 | + run: dotnet fsi scripts/executable_convention.fsx |
174 | 174 | - name: Check there are no mixed line-endings in any files
|
175 |
| - run: dotnet fsi scripts/mixedLineEndings.fsx |
| 175 | + run: dotnet fsi scripts/mixed_line_endings.fsx |
176 | 176 | - name: Check there are no unpinned GitHubActions image versions
|
177 |
| - run: dotnet fsi scripts/unpinnedGitHubActionsImageVersions.fsx |
| 177 | + run: dotnet fsi scripts/unpinned_github_actions_image_versions.fsx |
178 | 178 | - name: Check there are no unpinned dotnet package versions
|
179 |
| - run: dotnet fsi scripts/unpinnedDotnetPackageVersions.fsx |
| 179 | + run: dotnet fsi scripts/unpinned_dotnet_package_versions.fsx |
180 | 180 | - name: Check there are no unpinned nuget package reference versions in F# scripts
|
181 |
| - run: dotnet fsi scripts/unpinnedNugetPackageReferenceVersions.fsx |
| 181 | + run: dotnet fsi scripts/unpinned_nuget_package_reference_versions.fsx |
182 | 182 | - name: Check there are no unpinned versions in `dotnet tool install` commands
|
183 |
| - run: dotnet fsi scripts/unpinnedDotnetToolInstallVersions.fsx |
| 183 | + run: dotnet fsi scripts/unpinned_dotnet_tool_install_versions.fsx |
| 184 | + - name: Check if script names (.fsx, .bat, and .sh files) are snake_case and CI job names are kebab-case. |
| 185 | + run: dotnet fsi scripts/not_respecting_some_naming_conventions.fsx |
184 | 186 | - name: Check commits 1 by 1
|
185 | 187 | if: github.event_name == 'pull_request'
|
186 |
| - run: dotnet fsi scripts/checkCommits1by1.fsx |
| 188 | + run: dotnet fsi scripts/check_commits_1by1.fsx |
187 | 189 | - name: Check there are no inconsistent versions GitHubCI files
|
188 |
| - run: dotnet fsi scripts/inconsistentVersionsInGitHubCI.fsx |
| 190 | + run: dotnet fsi scripts/inconsistent_versions_in_githubci.fsx |
189 | 191 | - name: Check there are no inconsistent versions in nuget package references of F# scripts
|
190 |
| - run: dotnet fsi scripts/inconsistentVersionsInFSharpScripts.fsx |
| 192 | + run: dotnet fsi scripts/inconsistent_versions_in_fsharp_scripts.fsx |
191 | 193 | - name: Check there are no non-verbose flags in scripts and CI YML files
|
192 |
| - run: dotnet fsi scripts/nonVerboseFlagsInGitHubCIAndScripts.fsx |
| 194 | + run: dotnet fsi scripts/non_verbose_flags_in_githubci_and_scripts.fsx |
193 | 195 | - name: Install prettier
|
194 | 196 | run: npm install [email protected]
|
195 | 197 | - name: Change file permissions
|
|
0 commit comments