Skip to content

Update dependencies #21

Update dependencies

Update dependencies #21

Workflow file for this run

name: Clippy lints
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libx11-xcb-dev libxcb1-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ matrix.name }}-${{ matrix.cross-target }}
- name: Install Pyhton 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install poetry
run: pip install poetry
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: --debug cargo-make
- name: pre-build
run: cargo make pre-build
- name: Run clippy
uses: clechasseur/rs-clippy-check@v3
with:
args: --workspace --all-targets --all-features