Skip to content

fix: prevent XSS in AnsiDisplay component #2562

fix: prevent XSS in AnsiDisplay component

fix: prevent XSS in AnsiDisplay component #2562

Workflow file for this run

name: Tests
on:
workflow_call:
pull_request:
branches: [main]
types: [milestoned, opened, edited, synchronize]
paths-ignore:
- "**.md"
- "**.jpg"
- "**.png"
- "**.gif"
- "**.svg"
- "adr/**"
- "docs/**"
- "CODEOWNERS"
- "goreleaser.yml"
permissions:
contents: read
# Abort prior jobs in the same workflow / PR
concurrency:
group: unit-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
type: [unit, e2e, api]
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Environment (Go, Node, Homebrew, UDS CLI, k3d)
uses: ./.github/actions/setup
- name: Run tests
run: uds run test:${{ matrix.type }}
timeout-minutes: 30
- name: Debug Output
if: ${{ matrix.type == 'e2e'}}
uses: defenseunicorns/uds-common/.github/actions/debug-output@ea9db8ab9bfc4a5d87acd7d1af385aa8e44206d3 # v0.13.0
- name: Save logs
if: always()
uses: defenseunicorns/uds-common/.github/actions/save-logs@ea9db8ab9bfc4a5d87acd7d1af385aa8e44206d3 # v0.13.0
with:
suffix: ${{ matrix.type }}