Skip to content

feat(kube): begin implementation of api discovery #65

feat(kube): begin implementation of api discovery

feat(kube): begin implementation of api discovery #65

Workflow file for this run

name: pr_check
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
override: true
profile: minimal
- name: Install trunk
uses: jetli/[email protected]
with:
version: "latest"
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install node dependencies
run: npm clean-install
- name: Disable terminal hooks
run: sed -i '/\[\[hooks\]\]/,$d' 'Trunk.toml'
- name: Check clippy
run: cargo clippy --package cassette --target wasm32-unknown-unknown --features 'full,experimental' --verbose -- -D warnings
- name: Build
run: trunk build
build-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- name: Check clippy
run: cargo clippy --package cassette-gateway --package cassette-operator --features 'full,experimental' --verbose -- -D warnings
- name: Build
run: cargo build --package cassette-gateway --package cassette-operator --features 'full,experimental' --verbose
- name: Run tests
run: cargo test --package cassette-gateway --package cassette-operator --features 'full,experimental' --verbose
cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- name: Install cargo-deny
run: cargo install cargo-deny
- name: Check cargo-deny
run: cargo deny check --show-stats