Skip to content

Commit

Permalink
test: 💩 Add some PS script to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-s-betke committed Apr 10, 2021
1 parent 9a689ed commit 32a5dab
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 15 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check repository
on: [push]
jobs:
analyze:
name: Analyze repository
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Checkout repository
uses: Amadevus/pwsh-script@v2
id: script
with:
script: |
Import-Module -Name InvokeBuild -Verbose;
Import-Module -Name 7Zip4Powershell -Verbose;
Invoke-Build -Task Build -Verbose;
15 changes: 0 additions & 15 deletions .github/workflows/repo-check.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/static-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ jobs:

- name: Check License Lines
uses: kt3k/license_checker@master

- name: Run PSRule analysis
uses: Microsoft/ps-rule@main
with:
modules: PSRule.Rules.GitHub, PSRule.Rules.MSFT.OSS
prerelease: true
3 changes: 3 additions & 0 deletions .vscode/cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"расширения",
"рефакторинг",
"Штрихкод",
"Amadevus",
"apos",
"betke",
"calcext",
Expand Down Expand Up @@ -48,6 +49,7 @@
"mimetype",
"mkdocs",
"NMTOKEN",
"Nuget",
"officeooo",
"oooc",
"ooow",
Expand All @@ -59,6 +61,7 @@
"precommit",
"preprocess",
"PreRelease",
"pwsh",
"readonly",
"Recurse",
"Remoting",
Expand Down

0 comments on commit 32a5dab

Please sign in to comment.