From 75049c21e82e4666158665e020de4ca02702e275 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 31 Jan 2026 15:02:12 +0100 Subject: [PATCH] base ci add --- .github/workflows/.DS_Store | Bin 0 -> 6148 bytes .github/workflows/ci.yml | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .github/workflows/.DS_Store create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/.DS_Store b/.github/workflows/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..bbaac7b8a1d735570a1751c14ab3a5d9a68c96b6 GIT binary patch literal 6148 zcmeHKOH0E*5Z-NTn^1%v6nb3nTC@)zh?g|hgI6PZP^nE*+F+V3eOROvauodm{uTd$ z;1BTkIQytrlYvjsBVF9djPIGrQrQ_^ok0x3bT}VZ#qweVO2UEeJV3^+S)3Z9WRUfy{N(fN2_L zJ(r(M$~#*HR@p933v9AmE*98kWqUd`jn%b{y`%b7&<**WB9g*4CuLdV4DP|0+f&dk zIZfW}%>q7-cX_R*zgeStc>ByAo~rQ}@5h*4=lgZ8oqibbunlw1p8ee;p@|G21IWO_ z7|>^skzLq|xDYac4Ez-a#QDHL1zH*-h4SctMwS48DR4^xThtOFhiSAlMhamBgsN0P zl}dGqK~*~VnU1qGMhaCrp}P2>dS$9B6e?GT`I!tS)KZ8oGJp)sGmuo>oVfoFzOMi0 zldy*jAOru30h+2gH5<01@7CDn#9hlkFF}QfxJcn!3K;S#hFEbG=Ru`_p9urd(ikZO Q4+#DUNE)y~1{TV|E8#k5i~s-t literal 0 HcmV?d00001 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..028015b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,44 @@ +name: CI + +on: + push: + branches: [ main, master, develop ] + pull_request: + branches: [ main, master, develop ] + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + name: Test + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - stable + - beta + - nightly + steps: + - uses: actions/checkout@v4 + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - run: cargo build --verbose + - run: cargo test --verbose + + clippy: + name: Clippy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: rustup update stable && rustup default stable + - run: rustup component add clippy + - run: cargo clippy --all-targets --all-features -- -D warnings + + fmt: + name: Format + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: rustup update stable && rustup default stable + - run: rustup component add rustfmt + - run: cargo fmt --all -- --check