Skip to content

Commit

Permalink
feat: basic tree and data tui done (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
fioncat committed May 20, 2024
1 parent 9a30b58 commit ed3dcdb
Show file tree
Hide file tree
Showing 28 changed files with 3,214 additions and 5 deletions.
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
groups:
all:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
24 changes: 24 additions & 0 deletions .github/workflows/cargo-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Cargo Test

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

jobs:
cargo-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
target: ${{ matrix.target }}

- name: Cargo Test
run: cargo check
45 changes: 45 additions & 0 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Release Binary

on:
push:
tags:
- '*'

permissions:
contents: write

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create
uses: softprops/action-gh-release@v2
with:
draft: true

release-binary:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-musl
- os: ubuntu-latest
target: aarch64-unknown-linux-musl

- os: macos-11
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: otree
tar: unix
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Spell Check

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

jobs:
spell-check:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb


# Added by cargo

/target
Loading

0 comments on commit ed3dcdb

Please sign in to comment.