|
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 |
@@ -150,22 +150,24 @@ jobs: |
150 | 150 | apt install --yes --no-install-recommends dotnet6 |
151 | 151 |
|
152 | 152 | - name: Check all files end with EOL |
153 | | - run: dotnet fsi scripts/eofConvention.fsx |
| 153 | + run: dotnet fsi scripts/eof_convention.fsx |
154 | 154 | - name: Check all .fsx scripts have shebang |
155 | | - run: dotnet fsi scripts/shebangConvention.fsx |
| 155 | + run: dotnet fsi scripts/shebang_convention.fsx |
156 | 156 | - name: Check there are no mixed line-endings in any files |
157 | | - run: dotnet fsi scripts/mixedLineEndings.fsx |
| 157 | + run: dotnet fsi scripts/mixed_line_endings.fsx |
158 | 158 | - name: Check there are no unpinned GitHubActions image versions |
159 | | - run: dotnet fsi scripts/unpinnedGitHubActionsImageVersions.fsx |
| 159 | + run: dotnet fsi scripts/unpinned_github_actions_image_versions.fsx |
160 | 160 | - name: Check there are no unpinned dotnet package versions |
161 | | - run: dotnet fsi scripts/unpinnedDotnetPackageVersions.fsx |
| 161 | + run: dotnet fsi scripts/unpinned_dotnet_package_versions.fsx |
162 | 162 | - name: Check there are no unpinned nuget package reference versions in F# scripts |
163 | | - run: dotnet fsi scripts/unpinnedNugetPackageReferenceVersions.fsx |
| 163 | + run: dotnet fsi scripts/unpinned_nuget_package_reference_versions.fsx |
164 | 164 | - name: Check there are no unpinned versions in `dotnet tool install` commands |
165 | | - run: dotnet fsi scripts/unpinnedDotnetToolInstallVersions.fsx |
166 | | - - name: Check if gitPush1by1 was used |
| 165 | + run: dotnet fsi scripts/unpinned_dotnet_tool_install_versions.fsx |
| 166 | + - name: Check if script names (.fsx, .bat, and .sh files) are snake_case and CI job names are kebab-case. |
| 167 | + run: dotnet fsi scripts/not_respecting_some_naming_conventions.fsx |
| 168 | + - name: Check if git_push_1by1 was used |
167 | 169 | if: github.event_name == 'pull_request' |
168 | | - run: dotnet fsi scripts/detectNotUsingGitPush1by1.fsx |
| 170 | + run: dotnet fsi scripts/detect_not_using_git_push_1by1.fsx |
169 | 171 | - name: Install prettier |
170 | 172 | run: npm install [email protected] |
171 | 173 | - name: Change file permissions |
|
0 commit comments