From 3cda4977ed4f3778000e3583de3d6947df998b3c Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Fri, 25 Jun 2021 09:11:11 +0000 Subject: [PATCH] ci: add github action for rustfmt/clippy --- --- /dev/null +++ b/.github/workflows/codestyle.yml @@ -0,0 +1,22 @@ +name: Code style + +on: [push] + +jobs: + rustfmt: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v1 + - uses: icepuma/rust-action@master + with: + args: cargo fmt -- --check + + clippy: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v1 + - uses: icepuma/rust-action@master + with: + args: cargo clippy -- -Dwarnings \ No newline at end of file -- gitstuff