aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/check.yaml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-06-28 02:15:02 -0700
committerFuwn <[email protected]>2022-06-28 02:15:02 -0700
commitd011b3bf0284ef0e9f87b09e0a25770c96a5c167 (patch)
treec57ede11a2c2df01c11cb14e8ad9871a8eaf65cc /.github/workflows/check.yaml
downloadsumy-0.1.0.tar.xz
sumy-0.1.0.zip
feat: initial commitHEAD0.1.0main
Diffstat (limited to '.github/workflows/check.yaml')
-rw-r--r--.github/workflows/check.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml
new file mode 100644
index 0000000..d5215c4
--- /dev/null
+++ b/.github/workflows/check.yaml
@@ -0,0 +1,35 @@
+name: Check ✅
+
+on:
+ workflow_dispatch:
+ push:
+ paths:
+ - "*"
+ pull_request:
+ paths:
+ - "*"
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ check:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout 🛒
+ uses: actions/checkout@v3
+
+ - name: Toolchain 🧰
+ uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: stable
+ components: rustfmt, clippy
+ override: true
+
+ - name: Check ✅
+ uses: actions-rs/cargo@v1
+ continue-on-error: false
+ with:
+ command: check
+ args: --verbose \ No newline at end of file