Files
techdebt-tracker-cli/.gitea/workflows/ci.yml
7000pctAUTO 779c23141b
Some checks failed
CI / test (push) Failing after 1m6s
Add Gitea Actions workflow: ci.yml
2026-02-05 14:27:03 +00:00

40 lines
933 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
source $HOME/.cargo/env
rustc --version
cargo --version
- name: Build
run: |
source $HOME/.cargo/env
cargo build --release
- name: Run tests
run: |
source $HOME/.cargo/env
cargo test --all-features
- name: Clippy
run: |
source $HOME/.cargo/env
cargo clippy --all-targets
- name: Format check
run: |
source $HOME/.cargo/env
cargo fmt --check