Skip to content

Create CI pipeline for project #1

Create CI pipeline for project

Create CI pipeline for project #1

Workflow file for this run

name: 🧪 Run Clippy
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
name: 🧪 Run Clippy
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Cache libs
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run Check
run: cargo clippy --all-targets --all-features --verbose