Skip to content

build(deps): bump cw2 from 1.1.0 to 1.1.1 #763

build(deps): bump cw2 from 1.1.0 to 1.1.1

build(deps): bump cw2 from 1.1.0 to 1.1.1 #763

Workflow file for this run

name: Lints
on:
pull_request:
push:
branches:
- master
jobs:
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Verify .rs files 👀
uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
**/**.rs
- name: Setup Rust ⚙
if: env.GIT_DIFF
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Prepare rust cache 🗄️
if: env.GIT_DIFF
uses: Swatinem/rust-cache@v2
- name: Run cargo fmt ✅
if: env.GIT_DIFF
run: cargo fmt --all -- --check
- name: Run cargo clippy ✅
if: env.GIT_DIFF
run: cargo clippy
- name: Generate coverage report 🧪
if: env.GIT_DIFF
uses: actions-rs/[email protected]
with:
version: '0.22.0'
args: '--avoid-cfg-tarpaulin'
- name: Upload coverage 📤
if: env.GIT_DIFF
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}