Skip to content

Update upstream specifications to their latest version #10

Update upstream specifications to their latest version

Update upstream specifications to their latest version #10

Workflow file for this run

# SPDX-FileCopyrightText: The kube-custom-resources-rs Authors
# SPDX-License-Identifier: 0BSD
name: Verify Commits
on:
pull_request:
branches: [ main ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2
- name: Check Fetcher
run: cargo check --package crd-v1-fetcher --locked
env:
RUSTFLAGS: "-A warnings"
- name: Check all CRDs
run: |
for mld in ./kube-custom-resources-rs/src/*; do
if [ -f "${mld}/mod.rs" ]; then
module=$(basename "${mld}")
echo "testing ${module}"
cargo check --package kube-custom-resources-rs --features "${module}" --locked
fi
done
env:
RUSTFLAGS: "-A warnings"