Skip to content

chore(ci): try to upgrade actions #9

chore(ci): try to upgrade actions

chore(ci): try to upgrade actions #9

Workflow file for this run

name: clippy
on:
push:
paths:
- "**.rs"
- "**.toml"
- "**.yaml"
- "**.yml"
pull_request:
paths:
- "**.rs"
- "**.toml"
- "**.yaml"
- "**.yml"
env:
CARGO_TERM_COLOR: always
jobs:
clippy-app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
components: clippy
- name: Check clippy
run: cargo clippy --package cassette --target wasm32-unknown-unknown --features 'full,experimental' --verbose -- -D warnings
clippy-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y \
cmake \
libhwloc-dev \
&& sudo apt-get clean all \
&& sudo rm -rf /var/lib/apt/lists/*
- name: Check clippy
run: cargo clippy --package cassette-gateway --package cassette-operator --features 'full,experimental' --verbose -- -D warnings