aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-12 23:48:04 -0700
committerFuwn <[email protected]>2021-05-12 23:48:04 -0700
commit6c2ea68bbef0e1fc0b50b80f113b0ebcdf745a40 (patch)
treea2330c4408f17cb1fc637f5263ee1432c1b62c2b /.github/workflows
downloadlime-old-6c2ea68bbef0e1fc0b50b80f113b0ebcdf745a40.tar.xz
lime-old-6c2ea68bbef0e1fc0b50b80f113b0ebcdf745a40.zip
feat: :star:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/rust.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..9c7437b
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,35 @@
+name: Rust ✅/ 🚫
+
+on:
+ push:
+ # branches: [develop]
+ paths:
+ - "src/**"
+ - "Cargo.toml"
+ pull_request:
+ # branches: [develop]
+ paths:
+ - "src/**"
+ - "Cargo.toml"
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ check:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout 🛒
+ uses: actions/checkout@v2
+ - name: Toolchain 🧰
+ uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: nightly-2021-02-20
+ components: rustfmt, clippy
+ override: true
+ - name: Check ✅/ 🚫
+ uses: actions-rs/cargo@v1
+ continue-on-error: false
+ with:
+ command: check