mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
Bumps the actions group with 1 update in the / directory: [step-security/harden-runner](https://github.com/step-security/harden-runner). Updates `step-security/harden-runner` from 2.22.4 to 2.23.0 - [Release notes](https://github.com/step-security/harden-runner/releases) - [Commits](https://github.com/step-security/harden-runner/compare/1d88384fd173af6ecb012dfd0264a306b711241a...aebdcf6156ab6691adf63218240e476564a1ed4c) --- updated-dependencies: - dependency-name: step-security/harden-runner dependency-version: 2.23.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
76 lines
3.1 KiB
YAML
76 lines
3.1 KiB
YAML
name: Nightly check
|
|
|
|
# The app-side Nightly pieces, checked without a feed run: the Python suites that read the archive,
|
|
# plist and signing scripts, the workflow contracts, and (on Windows) the packaging and signing
|
|
# PowerShell suites. The producer itself is .github/workflows/nightly.yml; the Apple-silicon bundle
|
|
# is built and verified by nightly-macos.yml behind the `full-ci` label. The same job also runs the
|
|
# suite for scripts/ci-clear-rolling-cache.py, which ci.yml's nightly cold run calls.
|
|
on:
|
|
push:
|
|
branches: [main, release]
|
|
paths: [".github/workflows/nightly*.yml", "packaging/**", "apps/vectorcraft/**", "crates/ui-egui/src/os_window.rs", "scripts/ci-clear-rolling-cache*.py"]
|
|
pull_request:
|
|
paths: [".github/workflows/nightly*.yml", "packaging/**", "apps/vectorcraft/**", "crates/ui-egui/src/os_window.rs", "scripts/ci-clear-rolling-cache*.py"]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: nightly-check-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
synthetic:
|
|
name: Packaging suites and script syntax
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- name: Harden runner
|
|
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
|
|
with:
|
|
egress-policy: audit
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- name: Run the synthetic suites
|
|
run: python3 packaging/nightly-tests.py
|
|
- name: Run the cold cache clear suite
|
|
run: python3 scripts/ci-clear-rolling-cache-tests.py
|
|
- name: Parse every nightly shell script
|
|
run: |
|
|
set -euo pipefail
|
|
for script in packaging/nightly-common.sh packaging/linux/nightly.sh packaging/linux/nightly-launch.sh \
|
|
packaging/linux/nightly-arch-tar.sh packaging/macos/nightly.sh \
|
|
packaging/macos/nightly-lib.sh packaging/macos/nightly-sign.sh packaging/macos/nightly-verify.sh; do
|
|
bash -n "$script"
|
|
done
|
|
- name: Shellcheck
|
|
run: |
|
|
set -euo pipefail
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y -qq shellcheck
|
|
shellcheck -x -P packaging packaging/nightly-common.sh packaging/linux/nightly.sh \
|
|
packaging/linux/nightly-launch.sh \
|
|
packaging/macos/nightly.sh packaging/macos/nightly-lib.sh packaging/macos/nightly-sign.sh \
|
|
packaging/macos/nightly-verify.sh
|
|
|
|
windows:
|
|
name: Windows packaging and signing suites
|
|
runs-on: windows-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- name: Harden runner
|
|
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
|
|
with:
|
|
egress-policy: audit
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- name: Nightly packaging suite
|
|
shell: pwsh
|
|
run: ./packaging/windows/nightly-package-tests.ps1 -FixtureRoot $env:RUNNER_TEMP
|
|
- name: Nightly signing suite
|
|
shell: pwsh
|
|
run: ./packaging/windows/nightly-signing-tests.ps1 -FixtureRoot $env:RUNNER_TEMP
|