Skip to content

fix: Try to fix codecov action #478

fix: Try to fix codecov action

fix: Try to fix codecov action #478

Workflow file for this run

on:
push:
branches: [main, dev]
pull_request:
name: lint
env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: arduino/setup-protoc@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- uses: actions/checkout@v2
with:
submodules: recursive
- name: cargo fmt --check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
- name: cargo doc
uses: actions-rs/cargo@v1
if: always()
with:
command: doc
args: --no-deps --all-features
- name: cargo clippy
uses: actions-rs/clippy-check@v1
if: always()
with:
token: ${{ secrets.GITHUB_TOKEN }}