Update caching mechanism to allow for concurrent genpolicy runs #213
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: Cargo Crates Check Runner | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
paths-ignore: [ '**.md', '**.png', '**.jpg', '**.jpeg', '**.svg', '/docs/**' ] | |
jobs: | |
cargo-deny-runner: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }} | |
uses: actions/checkout@v3 | |
- name: Generate Action | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }} | |
run: bash cargo-deny-generator.sh | |
working-directory: ./.github/cargo-deny-composite-action/ | |
env: | |
GOPATH: ${{ runner.workspace }}/kata-containers | |
- name: Run Action | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }} | |
uses: ./.github/cargo-deny-composite-action |