Skip to content

Download only relevant project dependencies #6532

Download only relevant project dependencies

Download only relevant project dependencies #6532

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
Test:
strategy:
matrix:
include:
- os: windows-latest
shell: powershell
psVersion: PS5
- os: ubuntu-latest
shell: pwsh
psVersion: PS7
fail-fast: false
runs-on: ${{ matrix.os }}
name: Run tests on ${{ matrix.os }} (${{ matrix.psVersion }})
defaults:
run:
shell: ${{ matrix.shell }}
steps:
- name: Harden Runner
if: github.repository_owner == 'microsoft'
uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
with:
egress-policy: audit
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run AL-Go Actions Tests (${{ matrix.psVersion }})
run: |
. (Join-Path "." "Tests/runtests.ps1") -Path "Tests"
- name: Test AL-Go Workflows (${{ matrix.psVersion }})
if: github.repository_owner == 'microsoft'
run: |
. (Join-Path "." "Tests/runtests.ps1") -Path "Tests/WorkflowSanitation"
- name: Test aka.ms links in markdown files (${{ matrix.psVersion }})
if: github.repository_owner == 'microsoft'
run: |
. (Join-Path "." "Tests/runtests.ps1") -Path "Tests/MarkdownLinks"