build(deps): bump serde from 1.0.183 to 1.0.190 #768
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |