Adds running lint step to run_tests.yaml #66
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 2024 Canonical Ltd. | |
# See LICENSE file for licensing details. | |
name: Workflow Self-Test (Rockcraft Cache) | |
on: | |
pull_request: | |
jobs: | |
save-cache: | |
uses: ./.github/workflows/build_rocks.yaml | |
secrets: inherit | |
with: | |
working-directory: "tests/workflows/rock/" | |
cache-action: save | |
restore-cache: | |
needs: [ save-cache ] | |
uses: ./.github/workflows/build_rocks.yaml | |
secrets: inherit | |
with: | |
working-directory: "tests/workflows/rock/" | |
cache-action: restore | |
scan-images: | |
needs: restore-cache | |
uses: ./.github/workflows/scan_images.yaml | |
secrets: inherit | |
with: | |
images: ${{ needs.restore-cache.outputs.images }} | |
trivy-image-config: ./trivy.yaml | |
upload-result: true |