Skip to content

Update rust-clippy.yml #48

Update rust-clippy.yml

Update rust-clippy.yml #48

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: setup toolchain
uses: hecrj/setup-rust-action@v1
with:
rust-version: stable
- name: dependencies
run: |
uname -a &&
sudo apt-get -y update &&
sudo apt-get -y upgrade &&
sudo apt-get -y install gcc clang openssl libicu-dev libgraphite2-dev \
libcairo-5c-dev libcairo-gobject2 \
libpango1.0-dev libpoppler-dev libpoppler-glib-dev \
gcc bison flex libtool autoconf automake gcc \
libngspice0-dev kicad-symbols && \
sudo mkdir -p /usr/local/share/fonts/TT/ && \
sudo curl -L "https://github.com/hikikomori82/osifont/blob/master/osifont-lgpl3fe.ttf?raw=true" \
-o /usr/local/share/fonts/TT/osifont-lgpl3fe.ttf
- name: cargo test
run: cargo test --workspace
# - name: rustfmt
# run: cargo fmt --all -- --check
#
# - name: clippy
# run: cargo clippy --all --all-features --tests -- -D warnings