Skip to content

Bump typed-builder from 0.15.2 to 0.16.0 #192

Bump typed-builder from 0.15.2 to 0.16.0

Bump typed-builder from 0.15.2 to 0.16.0 #192

Workflow file for this run

name: CI
on:
pull_request:
jobs:
cargo-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: extractions/setup-just@v1
- uses: actions-rs/toolchain@v1
with:
override: true
toolchain: stable
profile: minimal
- uses: Swatinem/rust-cache@v2
- uses: nolar/setup-k3d-k3s@v1
with:
version: v1.21
k3d-name: kube
github-token: ${{ secrets.GITHUB_TOKEN }}
# unit tests
- run: cargo test --lib
# integration tests
- run: cargo build --bin kopium
# Test reasonably complicated CRDs; promethesurules and servicemonitors
- run: just test-pr
- run: just test-sm
# Test a fake CRD with multiple versions
- run: just test-mv
# Test argocd Application
- run: just test-argo
# Test openshift agent crd
- run: just test-agent
# Test around documentation in cert-manager certificates
- run: just test-certmanager
# Test some linkerd crds
- run: just test-linkerd-serverauth
- run: just test-linkerd-server
rustfmt:
name: Run rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: nightly
components: rustfmt
override: true
- name: Run rustfmt
id: rustfmt
run: rustfmt +nightly --edition 2018 --check $(find . -type f -iname *.rs)
clippy:
name: Run clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: nightly
components: clippy
override: true
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features