fix: Update CI workflow to use Rust/Cargo instead of Python/pytest
Some checks failed
CI / test (push) Failing after 2s
Some checks failed
CI / test (push) Failing after 2s
This commit is contained in:
@@ -14,23 +14,13 @@ jobs:
|
|||||||
- uses: actions/setup-rust@v1
|
- uses: actions/setup-rust@v1
|
||||||
with:
|
with:
|
||||||
rust-version: '1.75'
|
rust-version: '1.75'
|
||||||
profile: minimal
|
targets: 'wasm32-unknown-unknown'
|
||||||
- run: cargo check
|
- name: Install dependencies
|
||||||
- run: cargo test --all -- --test-threads=4
|
run: |
|
||||||
- run: cargo clippy --all-features -- -D warnings
|
cargo check --all-targets
|
||||||
|
- name: Run tests
|
||||||
build:
|
run: |
|
||||||
runs-on: ubuntu-latest
|
cargo test --all
|
||||||
needs: test
|
- name: Run clippy
|
||||||
steps:
|
run: |
|
||||||
- uses: actions/checkout@v4
|
cargo clippy --all -- -D warnings
|
||||||
- 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user