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
5 changes: 5 additions & 0 deletions .copr/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
srpm:
dnf -y install git cargo rpm-build xz
git config --global --add safe.directory '*'
./packaging/build-srpm.sh --head
cp $$HOME/rpmbuild/SRPMS/*.src.rpm "$(outdir)/"
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI

on:
push:
branches: [main]
pull_request:

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
# Pure-Rust workspace (zbus is a native-Rust D-Bus implementation) — no
# extra pacman-deps needed beyond the workflow's base toolchain.
uses: MasonRhodesDev/packaging-workflows/.github/workflows/rust-ci.yml@main
19 changes: 19 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Package

on:
push:
branches: [main]
pull_request:

concurrency:
group: package-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
arch:
uses: MasonRhodesDev/packaging-workflows/.github/workflows/arch-package.yml@main

rpm:
uses: MasonRhodesDev/packaging-workflows/.github/workflows/rpm-check.yml@main
with:
spec-name: lmtt
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Release

on:
push:
tags: ['v*']

permissions:
contents: write

jobs:
release:
uses: MasonRhodesDev/packaging-workflows/.github/workflows/release.yml@main
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Security audit

on:
push:
branches: [main]
pull_request:
schedule:
# Weekly — catches newly-published RUSTSEC advisories in pinned deps.
- cron: "17 4 * * 1"

concurrency:
group: security-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
security:
uses: MasonRhodesDev/packaging-workflows/.github/workflows/security.yml@main
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Rust
target/
Cargo.lock
**/*.rs.bk
*.pdb

Expand Down
Loading
Loading