Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 18 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [push, pull_request]
on: [ push, pull_request, workflow_dispatch ]

permissions:
contents: read
Expand All @@ -9,54 +9,52 @@ jobs:
build:
name: Build and Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
uses: actions/checkout@v4
- name: Install Rust (stable)
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
override: true
components: clippy, rustfmt

- name: Cache cargo registry
uses: actions/cache@v3
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}

- name: Cache cargo git
uses: actions/cache@v3
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}

- name: Cache target directory
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-target-${{ hashFiles('**/Cargo.lock') }}

- name: Build in release mode
run: cargo build --release

- name: Run tests
run: cargo test --all

- name: Run Clippy (no warnings allowed)
run: cargo clippy -- -D warnings

run: cargo clippy --all-targets --all-features -- -D warnings
- name: Check code formatting
run: cargo fmt -- --check

run: cargo fmt --all -- --check
- name: Install cargo-audit
run: cargo install cargo-audit

- name: Run cargo audit
run: cargo audit
25 changes: 0 additions & 25 deletions .github/workflows/rust.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/target
/.idea
/dist
*.txt
*.txt
*.log
30 changes: 27 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,46 @@ All notable changes to the `rbackup` project will be documented in this file.

---

## [v0.3.0] - 2025-09-10

### 🚀 Features

- Added absolute path to name of copying file
- Added message `Skipped.` or `Copied.` at the end of each file name

### 🐛 Bug Fixes

- Fixed bug that prevented skipping of already existing files in destination directory
- Fixed the process of copy/skip file graphically

### 🔧 Code Cleanup

- Deleted parameter `-g` (no longer necessary)

### 📦 Miscellaneous

- Modified format of starting and ending backup messages
- Commented out unused functions

---

## [0.2.8] – 2025-07-23

### ✅ Fixed

- **Fixes Issue #1**: ["This program must be run as administrator"](https://github.com/umpire274/rBackup/issues/1) – now the application runs on **Windows** without requiring elevated privileges.
- **Fixes Issue #1**: ["This program must be run as administrator"](https://github.com/umpire274/rBackup/issues/1) – now
the application runs on **Windows** without requiring elevated privileges.
- **Code cleanup**: removed Windows-specific elevation code (`elevator.rs` was removed).
- **CI fixes**: corrected GitHub Actions workflow for all platforms.
- **Macro derive fix**: added missing `use clap::Parser;` and corrected all `#[arg(...)]` and `#[command(...)]` attributes.
- **Macro derive fix**: added missing `use clap::Parser;` and corrected all `#[arg(...)]` and `#[command(...)]`
attributes.

### Notes

- No functional changes for macOS and Linux users.
- Verified correct CLI behavior with combined `--graph`, `--log`, and `--timestamp` options.

---

## [0.2.7] – 2025-06-26

### ✨ Changed
Expand Down
Loading
Loading