Skip to content

Update arkedge/workflows-c2a action to v4 - autoclosed #189

Update arkedge/workflows-c2a action to v4 - autoclosed

Update arkedge/workflows-c2a action to v4 - autoclosed #189

Workflow file for this run

name: Rust
on:
push:
branches:
- main
tags:
- v*
pull_request:
env:
CARGO_INCREMENTAL: 0
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
- name: cache dependencies
uses: Swatinem/rust-cache@v2.5.1
- name: reviewdog / clippy
uses: sksat/action-clippy@v0.2.1
with:
reporter: ${{ github.event_name == 'pull_request' && 'github-pr-review' || 'github-check' }}
clippy_flags: --all-features
- name: unit test
run: cargo test