Skip to content

Easy GH actions

Easy GH actions #3

Workflow file for this run

name: Run Tests
# Controls when the workflow will run
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ModuleTools module form PSGallery
run: |
Install-PSResource -Repository PSGallery -Name ModuleTools -TrustRepository
shell: pwsh
- name: Build Module and Perfor Tests
run: |
Invoke-MTBuild -Verbose
Invoke-MTTest
shell: pwsh