chore(deps): update aquasecurity/trivy-action action to v0.16.0 #832
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
# Copyright 2023 Canonical Ltd. | |
# See LICENSE file for licensing details. | |
name: Workflow test | |
on: | |
pull_request: | |
jobs: | |
simple: | |
uses: ./.github/workflows/test.yaml | |
secrets: inherit | |
with: | |
working-directory: "tests/workflows/integration/test-upload-charm/" | |
self-hosted-runner: false | |
simple-self-hosted: | |
uses: ./.github/workflows/test.yaml | |
secrets: inherit | |
with: | |
working-directory: "tests/workflows/integration/test-upload-charm/" | |
self-hosted-runner: true | |
self-hosted-runner-label: "edge" | |
integration: | |
uses: ./.github/workflows/integration_test.yaml | |
secrets: inherit | |
with: | |
working-directory: "tests/workflows/integration/test-upload-charm/" | |
trivy-image-config: "tests/workflows/integration/test-upload-charm/trivy.yaml" | |
integration-juju3: | |
uses: ./.github/workflows/integration_test.yaml | |
secrets: inherit | |
needs: | |
- integration | |
with: | |
working-directory: "tests/workflows/integration/test-upload-charm/" | |
trivy-image-config: "tests/workflows/integration/test-upload-charm/trivy.yaml" | |
juju-channel: 3.1/stable | |
provider: lxd | |
test-tox-env: "integration-juju3.1" | |
integration-rock: | |
uses: ./.github/workflows/integration_test.yaml | |
secrets: inherit | |
needs: | |
- integration-juju3 | |
with: | |
working-directory: "tests/workflows/integration/test-rock/" | |
trivy-image-config: "tests/workflows/integration/test-rock/trivy.yaml" | |
publish: | |
if: ${{ !github.event.pull_request.head.repo.fork }} | |
uses: ./.github/workflows/publish_charm.yaml | |
secrets: inherit | |
needs: | |
- integration-rock | |
with: | |
channel: latest/edge | |
working-directory: tests/workflows/integration/test-upload-charm/ | |
check: | |
runs-on: ubuntu-latest | |
if: always() && !cancelled() | |
timeout-minutes: 5 | |
needs: | |
- simple | |
- simple-self-hosted | |
- integration | |
- integration-juju3 | |
- integration-rock | |
- publish | |
steps: | |
- run: | | |
[ '${{ needs.simple.result }}' = 'success' ] || (echo simple failed && false) | |
[ '${{ needs.simple-self-hosted.result }}' = 'success' ] || (echo simple-self-hosted failed && false) | |
[ '${{ needs.integration.result }}' = 'success' ] || (echo integration failed && false) | |
[ '${{ needs.integration-juju3.result }}' = 'success' ] || (echo integration-juju3 failed && false) | |
[ '${{ needs.integration-rock.result }}' = 'success' ] || (echo integration-rock failed && false) | |
[ '${{ needs.publish.result }}' != 'failure' ] || (echo publish failed && false) |