Skip to content

single cache for emojis #18

single cache for emojis

single cache for emojis #18

Workflow file for this run

name: Build, Test and Lint Rust
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo artifacts
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: Install dependencies
run: cargo fetch
- name: Print the version used in the tools
run: |
cargo --version
cargo clippy --version
- name: Run Tests
run: cargo test --all-targets --all-features
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings --no-deps