aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-06-24 15:06:43 -0700
committerFuwn <[email protected]>2021-06-24 15:06:43 -0700
commit2bccd50b7a11dda0ae239ce13efcdac118bfee92 (patch)
tree28f665461bb9746d70878071b11537d784a59842 /.github
downloaddos-bot-2bccd50b7a11dda0ae239ce13efcdac118bfee92.tar.xz
dos-bot-2bccd50b7a11dda0ae239ce13efcdac118bfee92.zip
feat(dos-bot): :star:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..c667c43
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,36 @@
+name: Rust ✅
+
+on:
+ push:
+ paths:
+ - "src/**"
+ - "Config.toml"
+ pull_request:
+ paths:
+ - "src/**"
+ - "Config.toml"
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ check:
+ runs-on: ubuntu-20.04
+ steps:
+ - name: Checkout 🛒
+ uses: actions/checkout@v2
+
+ - name: Toolchain 🧰
+ uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: nightly-2021-06-24
+ components: rustfmt, clippy
+ override: true
+
+ - name: Check ✅
+ uses: actions-rs/cargo@v1
+ continue-on-error: false
+ with:
+ command: check
+ args: --verbose