From 75049c21e82e4666158665e020de4ca02702e275 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 31 Jan 2026 15:02:12 +0100 Subject: [PATCH 1/6] 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 From 76bbae1572ace22c5789c3d3d7789fb2f8e212cc Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 31 Jan 2026 15:03:14 +0100 Subject: [PATCH 2/6] Remove .DS_Store files --- .github/workflows/.DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .github/workflows/.DS_Store diff --git a/.github/workflows/.DS_Store b/.github/workflows/.DS_Store deleted file mode 100644 index bbaac7b8a1d735570a1751c14ab3a5d9a68c96b6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 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 From 4c411a20cca94adc2c7ae7f1d2dc9aea1a41c102 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 31 Jan 2026 15:03:50 +0100 Subject: [PATCH 3/6] Add .DS_Store to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index d395ba5..1dc0b45 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ target # Temporary data folder tmp +.DS_Store From 08c09ef2f5cb66886f5b73794ea80f106dc7f949 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 3 Feb 2026 11:37:50 +0100 Subject: [PATCH 4/6] remove master & develop, kept only stable in matrix Restrict CI workflow to only the main branch for pushes and pull requests. --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 028015b..76c41d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ main, master, develop ] + branches: [ main ] pull_request: - branches: [ main, master, develop ] + branches: [ main ] env: CARGO_TERM_COLOR: always @@ -17,8 +17,6 @@ jobs: matrix: toolchain: - stable - - beta - - nightly steps: - uses: actions/checkout@v4 - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} From f16fef26feceaff82baff713d7530009126646bb Mon Sep 17 00:00:00 2001 From: Aleksey Date: Fri, 6 Feb 2026 12:04:38 +0100 Subject: [PATCH 5/6] Update .github/workflows/ci.yml Co-authored-by: osmaczko <33099791+osmaczko@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76c41d1..ae381bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: rustup update stable && rustup default stable + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - run: rustup component add clippy - run: cargo clippy --all-targets --all-features -- -D warnings From ab391c55a95cd8056a5c9bcbd5095838e0619cc2 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Fri, 6 Feb 2026 12:04:48 +0100 Subject: [PATCH 6/6] Update .github/workflows/ci.yml Co-authored-by: osmaczko <33099791+osmaczko@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae381bb..164bf17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: rustup update stable && rustup default stable + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - run: rustup component add rustfmt - run: cargo fmt --all -- --check