|
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,28 +166,30 @@ 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 there are no mixed line-endings in any files |
173 | | - run: dotnet fsi scripts/mixedLineEndings.fsx |
| 173 | + run: dotnet fsi scripts/mixed_line_endings.fsx |
174 | 174 | - name: Check there are no unpinned GitHubActions image versions |
175 | | - run: dotnet fsi scripts/unpinnedGitHubActionsImageVersions.fsx |
| 175 | + run: dotnet fsi scripts/unpinned_github_actions_image_versions.fsx |
176 | 176 | - name: Check there are no unpinned dotnet package versions |
177 | | - run: dotnet fsi scripts/unpinnedDotnetPackageVersions.fsx |
| 177 | + run: dotnet fsi scripts/unpinned_dotnet_package_versions.fsx |
178 | 178 | - name: Check there are no unpinned nuget package reference versions in F# scripts |
179 | | - run: dotnet fsi scripts/unpinnedNugetPackageReferenceVersions.fsx |
| 179 | + run: dotnet fsi scripts/unpinned_nuget_package_reference_versions.fsx |
180 | 180 | - name: Check there are no unpinned versions in `dotnet tool install` commands |
181 | | - run: dotnet fsi scripts/unpinnedDotnetToolInstallVersions.fsx |
| 181 | + run: dotnet fsi scripts/unpinned_dotnet_tool_install_versions.fsx |
| 182 | + - name: Check if script names (.fsx, .bat, and .sh files) are snake_case and CI job names are kebab-case. |
| 183 | + run: dotnet fsi scripts/not_respecting_some_naming_conventions.fsx |
182 | 184 | - name: Check commits 1 by 1 |
183 | 185 | if: github.event_name == 'pull_request' |
184 | | - run: dotnet fsi scripts/checkCommits1by1.fsx |
| 186 | + run: dotnet fsi scripts/check_commits_1by1.fsx |
185 | 187 | - name: Check there are no inconsistent versions GitHubCI files |
186 | | - run: dotnet fsi scripts/inconsistentVersionsInGitHubCI.fsx |
| 188 | + run: dotnet fsi scripts/inconsistent_versions_in_githubci.fsx |
187 | 189 | - name: Check there are no inconsistent versions in nuget package references of F# scripts |
188 | | - run: dotnet fsi scripts/inconsistentVersionsInFSharpScripts.fsx |
| 190 | + run: dotnet fsi scripts/inconsistent_versions_in_fsharp_scripts.fsx |
189 | 191 | - name: Check there are no non-verbose flags in scripts and CI YML files |
190 | | - run: dotnet fsi scripts/nonVerboseFlagsInGitHubCIAndScripts.fsx |
| 192 | + run: dotnet fsi scripts/non_verbose_flags_in_githubci_and_scripts.fsx |
191 | 193 | - name: Install prettier |
192 | 194 | run: npm install [email protected] |
193 | 195 | - name: Change file permissions |
|
0 commit comments