-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub Actions build CI (#2029)
* Updates to build pipeline * Ignore trx * Add shell into test matrix * Fix matrix * Fix matrix * Fix Windows PowerShell * Minor tweaks
- Loading branch information
1 parent
e38dfea
commit fef02ce
Showing
4 changed files
with
67 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,11 +30,21 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- run: | | ||
# echo '### Hello world! :rocket:' >> $GITHUB_STEP_SUMMARY | ||
echo "JOBSUMMARYPATH=$GITHUB_STEP_SUMMARY" >> $GITHUB_ENV | ||
echo $GITHUB_STEP_SUMMARY | ||
- name: Run PSRule analysis | ||
uses: microsoft/[email protected] | ||
with: | ||
modules: PSRule.Rules.MSFT.OSS | ||
prerelease: true | ||
env: | ||
PSRULE_OUTPUT_JOBSUMMARYPATH: summary.md | ||
|
||
- run: cat summary.md >> $GITHUB_STEP_SUMMARY | ||
|
||
devskim: | ||
name: Analyze with DevSkim | ||
|
@@ -45,18 +55,18 @@ jobs: | |
security-events: write | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run DevSkim scanner | ||
uses: microsoft/DevSkim-Action@v1 | ||
with: | ||
directory-to-scan: src/ | ||
- name: Run DevSkim scanner | ||
uses: microsoft/DevSkim-Action@v1 | ||
with: | ||
directory-to-scan: src/ | ||
|
||
- name: Upload results to security tab | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: devskim-results.sarif | ||
- name: Upload results to security tab | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: devskim-results.sarif | ||
|
||
codeql: | ||
name: Analyze with CodeQL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ include: | |
output: | ||
culture: | ||
- en-US | ||
# jobSummaryPath: summary.md | ||
|
||
configuration: | ||
# Authoring rules | ||
|