Skip to content

Commit

Permalink
Merge pull request #13 from 0xCAB0/main
Browse files Browse the repository at this point in the history
0xCAB0/Rust-module-optimization
  • Loading branch information
YM162 committed Jan 16, 2024
2 parents b3033d1 + 351422c commit b122c91
Show file tree
Hide file tree
Showing 14 changed files with 575 additions and 1,119 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test and Build Rust

on:
push:
pull_request:
# schedule:
# Check if it works with current dependencies (weekly on Friday 00:00 UTC)
# - cron: '0 0 * * 5'

jobs:
test:
name: Test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
components: clippy
override: true
profile: minimal
toolchain: stable

- uses: actions/checkout@v3
- name: Run clippy
working-directory: ./gulagcleaner_rs
run: |
cargo clippy --verbose --all-targets --all-features -- -D warnings
cargo test --verbose --all-features
31 changes: 24 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
dist
.env
useful_info+scripts+TODO.md
multiplepdf

# javaScript
dist

# python
tests.ipynb
gulagcleaner.egg-info
gulagcleaner/__pycache__
target
useful_info+scripts+TODO.md
.env
__pycache__
.venv
python/gulagcleaner/__pycache__
*.pyd
*.pyd

#rust

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
Loading

0 comments on commit b122c91

Please sign in to comment.