commit
bc5fbd6ba9
180 files changed
+63750
No files matched your search
@@ -0,0 +1,29 @@
|
||||
name: RustBox CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
rustbox:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt, clippy
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: .
|
||||
- name: Reject TypeScript sources
|
||||
run: '! find . -type f \( -name "*.ts" -o -name "*.tsx" \) -print -quit | grep -q .'
|
||||
- name: Format
|
||||
run: cargo fmt --all -- --check
|
||||
- name: Test
|
||||
run: cargo test --locked
|
||||
- name: Clippy
|
||||
run: cargo clippy --locked --all-targets -- -D warnings
|
||||
- name: Build RustBox release
|
||||
run: cargo build --release --locked
|
||||
- name: Version
|
||||
run: ./target/release/rustbox --version
|
||||
Reference in new issue
Block a user