Commit 8671d8b
authored
🌟 [Major]: Introducing the
## Description
This pull request introduces the `Invoke-ScriptAnalyzer` GitHub Action.
### Workflow Updates:
* **New Workflows Added:**
-
[`.github/workflows/Action-Test-Src-Default.yml`](diffhunk://#diff-8ecb4765631346daa3fc827a56e509b7e8c1db0fc5ce7e3736bfea19531c0779R1-R23):
A workflow for testing source code without a manifest.
-
[`.github/workflows/Action-Test-Src-WithManifest.yml`](diffhunk://#diff-6b415bfca4385019a4a012a0677a3f583897f8c0ed23335673a87fc7962f0aecR1-R23):
A workflow for testing source code with a manifest.
-
[`.github/workflows/Action-Test-outputs.yml`](diffhunk://#diff-0d613011b57a43efc563d0da352dd07193e4d4c51d18b3960d164386b56500c9R1-R24):
A workflow for testing output modules.
* **Workflow Call Configuration:**
-
[`.github/workflows/ActionTestWorkflow.yml`](diffhunk://#diff-233e0a5ba9262bb06e98baed63e42420170aeb6a8118339a661edb824bdac3fcR1-R50):
Added a reusable workflow configuration for action tests, supporting
multiple operating systems and dynamic inputs.
### Action Configuration:
* **Action Metadata:**
-
[`action.yml`](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L1-R49):
Updated the action metadata to reflect the new name and description, and
revised the inputs and outputs for better clarity and functionality.
* **Main Script Update:**
-
[`scripts/main.ps1`](diffhunk://#diff-dc2e5a659836b1b73abb03421c567f5018c2755677c4a0aa764cb26117b68011L1-R27):
Refactored the main script to handle different test types and resolve
paths dynamically.
### Documentation Enhancements:
* **README.md:**
-
[`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L1-R103):
Updated the README to provide detailed information about the action, its
inputs, outputs, and usage examples.
* **Settings File Documentation:**
-
[`SettingsFileDocumentation.md`](diffhunk://#diff-ec332c2287ceca47b490fb59ae3fb116c6bf2593930ebb03420be5212df9a29bR1-R116):
Added comprehensive documentation for the PSScriptAnalyzer settings file
format and usage.
### Additional Changes:
* **Test Configuration Files:**
-
[`scripts/tests/PSScriptAnalyzer/Module.Settings.psd1`](diffhunk://#diff-5324d852ef540e7cce761446eea1c13584a8f905c6b16b6fde8b550b84548b16R1-R53):
Added a new settings file for module tests.
-
[`scripts/tests/PSScriptAnalyzer/PSScriptAnalyzer.Configuration.ps1`](diffhunk://#diff-4b77957e9165d3d4f445b09630bfb69dfbc7ab0b67e5ce081484d057514c700fR1-R5):
Added a configuration file for PSScriptAnalyzer.
-
[`scripts/tests/PSScriptAnalyzer/PSScriptAnalyzer.Container.ps1`](diffhunk://#diff-08e46f8aae6cf9cb8333b6eee2fb1cc2d0bbabf38b7019b4671c2570c579467aR1-R9):
Added a container configuration script for running tests.
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] Invoke-ScriptAnalyzer GitHub Action (#1)1 parent 56ac181 commit 8671d8b
File tree
101 files changed
+2993
-202
lines changed- .github/workflows
- scripts
- tests/PSScriptAnalyzer
- tests
- outputTestRepo/outputs
- docs/PSModuleTest
- modules/PSModuleTest
- assemblies
- data
- formats
- modules
- scripts
- types
- srcTestRepo
- icon
- src
- assemblies
- classes
- private
- public
- data
- formats
- functions
- private
- public
- PSModule
- SomethingElse
- init
- modules
- scripts
- types
- variables
- private
- public
- tests
- srcWithManifestTestRepo
- icon
- src
- assemblies
- classes
- private
- public
- data
- formats
- functions
- private
- public
- PSModule
- SomethingElse
- init
- modules
- scripts
- types
- variables
- private
- public
- tests
- Environments
- MyTests
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
101 files changed
+2993
-202
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments