Skip to content

Commit c077783

Browse files
author
g
committed
Consolidate and optimize GitHub workflows
- Consolidated CI and performance testing into rust.yml workflow - Merged security, quality, and dependency checks into security.yml - Added multi-platform testing with proper caching - Integrated performance benchmarks and CLI testing - Fixed branch triggers to include both main and master - Added comprehensive security scanning with TruffleHog - Created deny.toml for license compliance - Updated AGENTS.md with essential workflow information - Removed redundant workflow files and documentation
1 parent eca3bdc commit c077783

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "main", "master" ]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: [ "main", "master" ]
88

99
env:
1010
CARGO_TERM_COLOR: always

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Security & Quality
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ "main", "master" ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ "main", "master" ]
88
schedule:
99
# Run security audit daily at 2 AM UTC
1010
- cron: '0 2 * * *'

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,20 @@ cargo install --path . # Install locally
6262
## GitHub Workflows
6363

6464
### Development Workflow (rust.yml)
65-
- **Triggers**: Push/PR to main branch
65+
- **Triggers**: Push/PR to main/master branch
6666
- **Platforms**: Ubuntu, macOS, Windows
6767
- **Jobs**: Testing, code coverage, performance benchmarks
6868

6969
### Security & Quality (security.yml)
70-
- **Triggers**: Push/PR to main + daily schedule
70+
- **Triggers**: Push/PR to main/master + daily schedule
7171
- **Jobs**: Security audit, code quality, dependency analysis, secrets scan
7272

7373
### Release Automation (release.yml)
7474
- **Triggers**: Git tags starting with `v*`
7575
- **Features**: Multi-platform builds, automatic changelog, GitHub releases
7676

7777
### Branch Protection
78-
Configure `main` branch to require:
78+
Configure `main`/`master` branch to require:
7979
- Rust workflow checks
8080
- Security workflow checks
8181
- Code quality validation

0 commit comments

Comments
 (0)