Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
8256d75
Bump oo7 from 0.3.3 to 0.6.0
dependabot[bot] Apr 9, 2026
6495930
ci(release): skip commit if no changes in Cargo.toml
Cleboost Apr 9, 2026
11bae0b
ci(release): update release workflow for multi-architecture support
Cleboost Apr 9, 2026
16d26b0
ci(release): improve architecture-specific source list configuration
Cleboost Apr 9, 2026
e3e34b3
Bump actions/download-artifact from 4 to 8 (#104)
dependabot[bot] Apr 9, 2026
d2684f9
Bump actions/checkout from 4 to 6 (#103)
dependabot[bot] Apr 9, 2026
9b22c9f
Bump actions/upload-artifact from 4 to 7 (#107)
dependabot[bot] Apr 9, 2026
815e61a
Bump tokio from 1.51.0 to 1.51.1 (#106)
dependabot[bot] Apr 9, 2026
bcec80e
Bump KSXGitHub/github-actions-deploy-aur from 4.1.1 to 4.1.2 (#105)
dependabot[bot] Apr 9, 2026
77ef7e4
build(PKGBUILD): remove aarch64 architecture support
Cleboost Apr 9, 2026
adf675b
build(PKGBUILD): update sha256sum for x86_64 architecture
Cleboost Apr 9, 2026
63a4541
build(PKGBUILD): update source and sha256sum for x86_64 package
Cleboost Apr 9, 2026
65137a8
build(PKGBUILD): increment pkgrel to 2 for rustmius-bin
Cleboost Apr 9, 2026
348b614
docs(README): update project description and features
Cleboost Apr 9, 2026
ccfd5b8
build(PKGBUILD): remove libadwaita dependency from package
Cleboost Apr 9, 2026
b089887
ci: update file triggers for CI workflow
Cleboost Apr 9, 2026
6293af9
Potential fix for code scanning alert no. 4: Workflow does not contai…
Cleboost Apr 10, 2026
c739d9c
build(AUR): automate PKGBUILD update and publish process
Cleboost Apr 10, 2026
7f71f8f
feat(ssh-keys): implement SSH key management UI and functionality (#112)
Cleboost Apr 11, 2026
8c25ef2
chore: bump version to v2.1.0
github-actions[bot] Apr 11, 2026
c389af0
ci(release): adjust job dependencies and improve AUR update process
Cleboost Apr 11, 2026
e1d4b75
Merge remote-tracking branch 'origin/master'
Cleboost Apr 11, 2026
40c050f
chore: update PKGBUILD to v2.1.0
github-actions[bot] Apr 11, 2026
89c245b
chore(PKGBUILD): update package description for clarity
Cleboost Apr 11, 2026
5825533
clean
Cleboost Apr 11, 2026
499604e
feat(readme): mark SSH keys management as completed
Cleboost Apr 11, 2026
9f61ca8
Add GNU Affero General Public License v3
Cleboost Apr 11, 2026
6a6425a
Merge remote-tracking branch 'origin/master'
Cleboost Apr 11, 2026
465c96b
docs(readme): update license section with usage constraints and intel…
Cleboost Apr 11, 2026
19056f0
build(pkgbuild): add license file to package installation
Cleboost Apr 11, 2026
d71fbd2
ci(release): update action-gh-release and download-artifact versions
Cleboost Apr 13, 2026
6f70656
Bump oo7 from 0.3.3 to 0.6.0
dependabot[bot] Apr 9, 2026
26a9a30
fix: oo7 new version api
Cleboost Apr 13, 2026
823ff1a
Merge remote-tracking branch 'origin/dependabot/cargo/oo7-0.6.0' into…
Cleboost Apr 13, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/aur.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v6

- name: Publish AUR package
uses: KSXGitHub/[email protected].1
uses: KSXGitHub/[email protected].2
with:
pkgname: rustmius-bin
pkgbuild: ./PKGBUILD
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Continuous Integration

on:
push:
files:
- '**/*.rs'
- 'Cargo.toml'
- 'Cargo.lock'

permissions:
contents: read
Expand Down
113 changes: 86 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ on:
- minor
- major

permissions:
contents: write

jobs:
prepare:
name: Prepare Version
runs-on: ubuntu-latest
permissions:
contents: write
outputs:
new_version: ${{ steps.bump.outputs.new_version }}
version_only: ${{ steps.bump.outputs.version_only }}
sha: ${{ steps.commit.outputs.sha }}
steps:
- name: Checkout
Expand Down Expand Up @@ -61,15 +61,14 @@ jobs:
NEW_VERSION="v$MAJOR.$MINOR.$PATCH"
VERSION_ONLY="$MAJOR.$MINOR.$PATCH"

echo "Bumping $LATEST_TAG -> $NEW_VERSION ($LEVEL)"
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
echo "version_only=$VERSION_ONLY" >> $GITHUB_OUTPUT

- name: Update Cargo.toml
run: |
VERSION="${{ steps.bump.outputs.version_only }}"
sed -i "s/^version = \".*\"/version = \"$VERSION\"/" Cargo.toml
cargo metadata --format-version 1 > /dev/null # Updates Cargo.lock if needed
awk '/^\[package\]/ {print; p=1; next} p && /^version =/ {print "version = \"'$VERSION'\""; p=0; next} {print}' Cargo.toml > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml
cargo update --workspace

- name: Commit and Push
id: commit
Expand All @@ -78,15 +77,24 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"

git add Cargo.toml Cargo.lock
git commit -m "chore: bump version to ${{ steps.bump.outputs.new_version }}"
git push

if [ -z "$(git status --porcelain)" ]; then
echo "nothing to commit"
else
git commit -m "chore: bump version to ${{ steps.bump.outputs.new_version }}"
git push
fi

echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT

build:
name: Build (${{ matrix.suffix }})
needs: prepare
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
id-token: none
strategy:
fail-fast: false
matrix:
Expand All @@ -97,20 +105,17 @@ jobs:
- target: x86_64-unknown-linux-gnu
cpu: x86-64-v3
suffix: x86_64-v3
- target: aarch64-unknown-linux-gnu
cpu: generic
suffix: aarch64

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ needs.prepare.outputs.sha }}

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-4-dev libvte-2.91-gtk4-dev libadwaita-1-dev
sudo apt-get install -y libgtk-4-dev libvte-2.91-gtk4-dev

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
Expand All @@ -120,19 +125,11 @@ jobs:
- name: Rust Cache
uses: Swatinem/rust-cache@v2

- name: Install Cross
run: cargo install cross --git https://github.com/cross-rs/cross.git

- name: Build (Super Optimized)
- name: Build (Performance optimized)
run: |
export RUSTFLAGS="-C target-cpu=${{ matrix.cpu }}"
if [ "${{ matrix.cpu }}" = "generic" ]; then export RUSTFLAGS=""; fi

if [ "${{ matrix.target }}" = "x86_64-unknown-linux-gnu" ]; then
cargo build --release --target ${{ matrix.target }}
else
cross build --release --target ${{ matrix.target }}
fi
cargo build --release --target ${{ matrix.target }}

- name: Prepare binary
run: |
Expand All @@ -141,29 +138,91 @@ jobs:
mv rustmius rustmius-${{ matrix.suffix }}

- name: Upload Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: binary-${{ matrix.suffix }}
path: target/${{ matrix.target }}/release/rustmius-${{ matrix.suffix }}

release:
name: Create Release
needs: [build, prepare]
needs: [prepare, build]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: artifacts
pattern: binary-*
merge-multiple: true

- name: Release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
tag_name: ${{ needs.prepare.outputs.new_version }}
target_commitish: ${{ needs.prepare.outputs.sha }}
files: artifacts/rustmius-*
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

aur:
name: Update AUR
needs: [prepare, build]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Download Artifacts
uses: actions/download-artifact@v8
with:
name: binary-x86_64
path: .

- name: Update PKGBUILD
run: |
VERSION="${{ needs.prepare.outputs.version_only }}"
HASH_DESKTOP=$(sha256sum rustmius.desktop | cut -d' ' -f1)
HASH_PNG=$(sha256sum rustmius.png | cut -d' ' -f1)
HASH_BINARY=$(sha256sum rustmius-x86_64 | cut -d' ' -f1)

# Update version, pkgrel and hashes using AWK (more portable than updpkgsums on Ubuntu runners)
awk -v v="$VERSION" -v d="$HASH_DESKTOP" -v p="$HASH_PNG" -v b="$HASH_BINARY" '
BEGIN { h[0]=d; h[1]=p; h[2]=b; i=0 }
/^pkgver=/ { $0="pkgver=" v }
/^pkgrel=/ { $0="pkgrel=1" }
/'\''[0-9a-f]{64}'\''/ && i < 3 {
sub(/'\''[0-9a-f]{64}'\''/, "'\''" h[i++] "'\''")
}
{ print }
' PKGBUILD > PKGBUILD.tmp && mv PKGBUILD.tmp PKGBUILD

- name: Commit and Push PKGBUILD
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"

git add PKGBUILD

if [ -z "$(git status --porcelain)" ]; then
echo "nothing to commit"
else
git commit -m "chore: update PKGBUILD to ${{ needs.prepare.outputs.new_version }}"
git pull --rebase origin master
git push origin master
fi

- name: Publish AUR package
uses: KSXGitHub/[email protected]
with:
pkgname: rustmius-bin
pkgbuild: ./PKGBUILD
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: "Update to ${{ needs.prepare.outputs.new_version }}"
ssh_keyscan_types: rsa,ecdsa,ed25519
Loading
Loading