generated from XAMPPRocky/mean-bean-ci-template
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 980 Bytes
/
clippy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Clippy
on:
push:
branches:
- main
- devel
pull_request:
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- uses: actions/setup-node@v2
with:
node-version: "16"
- name: Install gstreamer dependencies
run: |
sudo apt-get remove libunwind-14-dev
sudo apt-get update -y
sudo apt-get install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
sudo apt-get install -y \
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
gstreamer1.0-libav libgstrtspserver-1.0-dev libges-1.0-dev \
gstreamer1.0-tools gstreamer1.0-x
- run: cargo clippy --workspace