Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0xCAB0/Rust-module-optimization #13

Merged
merged 14 commits into from
Jan 16, 2024
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
Loading