1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00
Files
BakaShrot/.github/workflows/source.yml
T
aziascreations e044fcf359 Moved the PureBasic version to OldSource/, Started the Rust rewrite in Source/
The rewrite's plan and decisions are in revamp.md. Steps 0 to 10 are done:
the workspace and checks, bakashrot-proto, bakashrot-pki and
bakashrot-cert, bakashrot-config, bakashrot-storage (schema v9), the
server and the client library (every request but replication's,
attachments and retention included), the C DLL with its C, PureBasic and
Python bindings, and the bakashrot tool. Step 11 (replication) is next.

OldSource/ is the old implementation, kept building and passing as the
reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RwFeVTGs2SsufaH6zquzcb
2026-11-14 12:47:40 +01:00

31 lines
909 B
YAML

# The new sources (Source/): the same checks as Source/check.ps1, on Windows
# and Linux. Gitea Actions runs this file too.
name: Source
on:
push:
paths: ["Source/**", ".github/workflows/source.yml"]
pull_request:
paths: ["Source/**", ".github/workflows/source.yml"]
jobs:
check:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: Source
steps:
- uses: actions/checkout@v4
# Installs the toolchain Source/rust-toolchain.toml pins.
- run: rustup toolchain install
- run: cargo fmt --all -- --check
- run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- run: cargo test --workspace --all-features
- run: cargo doc --workspace --no-deps --all-features
env:
RUSTDOCFLAGS: -D warnings