aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorveradec <glitchmill.dyj3d@simplelogin.co>2026-09-11 20:54:45 +0530
committerveradec <glitchmill.dyj3d@simplelogin.co>2026-09-11 20:54:45 +0530
commitc5ea100a46484b5d2edf79ecfee654dfd1d2443c (patch)
tree2f53715dc08026ccd978d385a3a8fe59ed3cbabd /.github/workflows
parenta060f1983fc5901c1fbf876cb499244d16e64432 (diff)
feat: ci/cd pipelines
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..b89d5db
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,24 @@
+name: Cargo Build & Test
+
+on:
+ push:
+ pull_request:
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build_and_test:
+ name: Rust project - latest
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ toolchain:
+ - stable
+ - beta
+ - nightly
+ steps:
+ - uses: actions/checkout@v6
+ - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
+ - run: cargo build --verbose
+ - run: cargo test --verbose \ No newline at end of file