Skip to content

Move CreateRelease update check to separate job #7090

Move CreateRelease update check to separate job

Move CreateRelease update check to separate job #7090

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@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- 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"