Update Rust crate k8s-openapi to 0.24.0 #1803
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
on: [ push ] | |
name: CI | |
jobs: | |
build_and_test: | |
name: Rust project | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: "-D warnings" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
components: rustfmt, clippy | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
- name: Cache Dependencies | |
uses: Swatinem/[email protected] | |
- name: cargo fmt --all --check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all --check | |
- name: cargo clippy --release --all-features | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: --release --all-features | |
- name: cargo build --release --all-features | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release --all-features | |
- name: cargo test --release --all-features | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --release --all-features |