chore(deps): update sonarqube support dependencies #682
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: [main] | |
types: [milestoned, opened, synchronize] | |
paths-ignore: | |
- "**.md" | |
- "**.jpg" | |
- "**.png" | |
- "**.gif" | |
- "**.svg" | |
- "adr/**" | |
- "docs/**" | |
- ".gitignore" | |
- "renovate.json" | |
- ".release-please-config.json" | |
- "release-please-config.json" | |
- "oscal-component.yaml" | |
- "CODEOWNERS" | |
- "LICENSE" | |
- "CONTRIBUTING.md" | |
- "SECURITY.md" | |
# Abort prior jobs in the same workflow / PR | |
concurrency: | |
group: test-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
run-test: | |
name: ${{ matrix.type }} ${{ matrix.flavor }} | |
runs-on: uds-swf-ubuntu-big-boy-4-core | |
timeout-minutes: 20 | |
strategy: | |
matrix: | |
flavor: [upstream, unicorn, registry1] | |
type: [install, upgrade] | |
# do not run upgrade tests for unicorn | |
# TODO @marshall: remove after first unicorn release | |
exclude: | |
- flavor: unicorn | |
type: upgrade | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Environment setup | |
uses: defenseunicorns/uds-common/.github/actions/setup@e3008473beab00b12a94f9fcc7340124338d5c08 # v0.13.1 | |
with: | |
registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} | |
registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} | |
ghToken: ${{ secrets.GITHUB_TOKEN }} | |
chainguardIdentity: ${{ secrets.CHAINGUARD_IDENTITY }} | |
- name: Test | |
uses: defenseunicorns/uds-common/.github/actions/test@e3008473beab00b12a94f9fcc7340124338d5c08 # v0.13.1 | |
with: | |
flavor: ${{ matrix.flavor }} | |
type: ${{ matrix.type }} | |
- name: Debug Output | |
if: ${{ always() }} | |
uses: defenseunicorns/uds-common/.github/actions/debug-output@e3008473beab00b12a94f9fcc7340124338d5c08 # v0.13.1 | |
- name: Save logs | |
if: always() | |
uses: defenseunicorns/uds-common/.github/actions/save-logs@e3008473beab00b12a94f9fcc7340124338d5c08 # v0.13.1 | |
with: | |
suffix: ${{ matrix.type }}-${{ matrix.flavor }}-${{ github.run_id }}-${{ github.run_attempt }} | |
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
if: always() | |
with: | |
name: playwright-report-${{ matrix.type }}-${{ matrix.flavor }}-${{ github.run_id }}-${{ github.run_attempt }} | |
path: tests/.playwright/reports/ | |
retention-days: 30 |