Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinlazz authored Aug 30, 2024
1 parent bf31741 commit b48df91
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Continuous Integration

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up PowerShell
uses: PowerShell/PowerShell@v7.3.0
with:
version: '7.x'

- name: Install PowerShell modules
run: |
Install-Module -Name Az -Force -AllowClobber
Install-Module -Name PSScriptAnalyzer -Force -AllowClobber
- name: Run PSScriptAnalyzer
run: |
Invoke-ScriptAnalyzer -Path .\*.ps1
- name: Run Tests
run: |
# Replace with your test script or commands
.\tests\run-tests.ps1
- name: Publish Results
uses: actions/upload-artifact@v3
with:
name: test-results
path: ./results

0 comments on commit b48df91

Please sign in to comment.