Added several security patches related to CVE-2024-0056 + SQL 2022 CU… #670
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
name: Cross Platform Import | |
on: [push] | |
jobs: | |
build: | |
env: | |
SMODefaultModuleName: dbatools | |
name: Module imports on all platforms | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install and cache PowerShell modules | |
uses: potatoqualitee/psmodulecache@v5.2 | |
with: | |
modules-to-cache: dbatools.library:2023.9.21 | |
- name: Perform the import | |
shell: pwsh | |
run: | | |
Import-Module ./dbatools.psd1 -ErrorAction Stop | |
(Get-DbaManagementObject).LoadTemplate -ne $null |