Skip to content

chore(release): v1.9.53 #113

chore(release): v1.9.53

chore(release): v1.9.53 #113

Workflow file for this run

name: Checks
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
checks:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
with:
fetch-depth: 0
- name: Check CI action refs
shell: pwsh
run: .\scripts\report-ci-action-refs.ps1 -EnforcePinnedWorkflowRefs
- name: Install check tools
shell: pwsh
run: .\scripts\install-check-tools.ps1 -Install -EnforceToolLocks
- name: Check helper self-tests
shell: pwsh
run: |
.\scripts\install-check-tools.ps1 -SelfTest
.\scripts\report-ci-action-refs.ps1 -SelfTest
.\scripts\check-metadata.ps1 -SelfTest
.\scripts\check-marketplace-versions.ps1 -SelfTest
.\scripts\check-curseforge-diagnostics.ps1 -SelfTest
.\scripts\check-release-artifact.ps1 -SelfTest
.\scripts\check-package-dry-run.ps1 -SelfTest
.\scripts\check-lua.ps1 -SelfTest
.\scripts\check-release-version.ps1 -SelfTest
.\scripts\check-release-ancestry.ps1 -SelfTest
lua5.1 .\scripts\check-archon-targets.lua --self-test
- name: Check release metadata
shell: pwsh
run: |
$toc = Get-Content -Path StatsPro.toc -Raw
if ($toc -notmatch '(?m)^##\s+Version:\s*([0-9]+\.[0-9]+\.[0-9]+)\s*$') {
throw 'Missing TOC Version.'
}
.\scripts\check-release-version.ps1 -Tag "v$($Matches[1])" -EnforceSemVerWhenAhead
- name: Lua checks
shell: pwsh
run: .\scripts\check-lua.ps1 -EnforceToolLocks
package-contract:
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
with:
fetch-depth: 0
- name: Install release validation tools
run: |
sudo apt-get update
sudo apt-get install -y lua5.1
- name: Build package without publishing
id: package
uses: BigWigsMods/packager@6d50adb6e8517eefef63f4afb16a6518166a6b28
with:
args: -d
- name: Validate package contract
shell: pwsh
env:
STATSPRO_ARCHIVE_PATH: ${{ steps.package.outputs.archive_path }}
run: |
./scripts/check-package-dry-run.ps1 `
-ArchivePath $env:STATSPRO_ARCHIVE_PATH `
-ArchonMaxAgeDays 14 `
-EnforceToolLocks