Files
tui-generator-cli/.gitea/workflows/ci.yml
7000pctAUTO 1bf22174b3
Some checks failed
CI / test (push) Failing after 1s
CI / build (push) Has been skipped
Add Gitea Actions workflow: ci.yml
2026-02-03 09:38:02 +00:00

37 lines
809 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-rust@v1
with:
rust-version: '1.75'
profile: minimal
- run: cargo check
- run: cargo test --all -- --test-threads=4
- run: cargo clippy --all-features -- -D warnings
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-rust@v1
with:
rust-version: '1.75'
profile: minimal
- run: cargo build --release
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: tui-generator-cli
path: target/release/tui-generator