Skip to content

FEAT: add CI pipeline #5

FEAT: add CI pipeline

FEAT: add CI pipeline #5

Workflow file for this run

# This all is a workaround for the [lack of YAML anchors in Github Actions](https://github.com/actions/runner/issues/1182).
# Once those are added, this file can be merged with /check.yml
name: checks execute
permissions:
contents: read
checks: write
# This configuration allows maintainers of this repo to create a branch and pull request based on
# the new branch. Restricting the push trigger to the main branch ensures that the PR only gets
# built once.
on:
push:
branches: [main]
paths:
- operators/kube-rs-building-cronjob/**
- operators/poc-secondary-resource-management/**
pull_request:
paths:
- operators/kube-rs-building-cronjob/**
- operators/poc-secondary-resource-management/**
# If new code is pushed to a PR branch, then cancel in progress workflows for that PR. Ensures that
# we don't waste CI time, and returns results quicker https://github.com/jonhoo/rust-ci-conf/pull/5
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
use-reusable:
strategy:
matrix:
directory:
- operators/kube-rs-building-cronjob
- operators/poc-secondary-resource-management
uses: ./.github/workflows/check.yml
with:
directory: ${{ matrix.directory }}
msrv: "1.77.2"
secrets: inherit