Skip to content

fix(ci): pin Rust toolchain, fix gitignore gaps, remove stale workflow - #370

Merged
ALLEN-AYODEJI merged 2 commits into
Trellis-Ecosystem:masterfrom
graceuvala-collab:fix/ci-toolchain-gitignore-cleanup
Aug 30, 2026
Merged

fix(ci): pin Rust toolchain, fix gitignore gaps, remove stale workflow#370
ALLEN-AYODEJI merged 2 commits into
Trellis-Ecosystem:masterfrom
graceuvala-collab:fix/ci-toolchain-gitignore-cleanup

Conversation

@graceuvala-collab

Copy link
Copy Markdown
Contributor

Summary

⚠️ DO NOT TEST — implementation only PR per maintainer instructions.

Resolves four maintenance issues in a single cohesive change.


Changes

#308 — Pin Rust Toolchain with rust-toolchain.toml

  • Add rust-toolchain.toml at the repo root pinning channel = "1.86.0", targets = ["wasm32-unknown-unknown"], and components = ["rustfmt", "clippy"]. rustup reads this file automatically in any subdirectory.
  • Remove dtolnay/rust-toolchain step from .github/workflows/contract-ci.yml — the toolchain file supersedes it, eliminating the duplicate install.
  • Add rust-toolchain.toml to contract-ci.yml path triggers so CI reruns on toolchain version bumps.
  • Update dependabot.yml with a comment noting the existing cargo ecosystem entry also covers the toolchain pin.

#309 — Add frontend/dist/ to .gitignore

  • Adds frontend/dist/ to the root .gitignore. The directory was not tracked (confirmed with git ls-files), so no git rm --cached was needed.

#310 — Add frontend/.env patterns to .gitignore

  • Adds frontend/.env, frontend/.env.local, and frontend/.env.*.local to the root .gitignore as an explicit safety net (the frontend/.gitignore already covered .env and *.local, but root-level rules prevent any git-resolution edge cases).
  • Adds an "Environment Files and Secrets" section to SECURITY.md documenting all ignored .env patterns, their contents, and secret-rotation guidance.

#311 — Remove stale frontend.yml workflow

  • Deletes .github/workflows/frontend.yml. frontend-ci.yml is the canonical workflow and already includes workflow_dispatch, a Node 20/22 matrix, concurrency cancellation, and artifact upload.
  • The README badge already pointed to frontend-ci.yml — no badge change required.

Verification

  • git ls-files frontend/dist/ frontend/.env returns empty — no artifacts or secrets were tracked before or after.
  • All six staged files reviewed for correctness before commit.
  • rust-toolchain.toml follows the rustup override spec.

Closes #308
Closes #309
Closes #310
Closes #311

- Create rust-toolchain.toml pinning stable 1.86.0 with wasm32-unknown-unknown
  target and rustfmt/clippy components for reproducible builds (Trellis-Ecosystem#308)
- Remove dtolnay/rust-toolchain step from contract-ci.yml; toolchain file is
  read automatically by rustup, eliminating the duplicate install step (Trellis-Ecosystem#308)
- Add rust-toolchain.toml to contract-ci.yml path triggers (Trellis-Ecosystem#308)
- Update dependabot.yml with note that cargo ecosystem covers toolchain pin (Trellis-Ecosystem#308)
- Add frontend/dist/ to root .gitignore to prevent tracking build artifacts (Trellis-Ecosystem#309)
- Add frontend/.env, frontend/.env.local, frontend/.env.*.local to root
  .gitignore as a safety net against accidental secret commits (Trellis-Ecosystem#310)
- Add Environment Files and Secrets section to SECURITY.md documenting all
  ignored .env patterns and rotation guidance (Trellis-Ecosystem#310)
- Delete .github/workflows/frontend.yml — superseded by frontend-ci.yml which
  includes workflow_dispatch, Node matrix, concurrency, and artifact upload (Trellis-Ecosystem#311)

Closes Trellis-Ecosystem#308
Closes Trellis-Ecosystem#309
Closes Trellis-Ecosystem#310
Closes Trellis-Ecosystem#311
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@graceuvala-collab Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ALLEN-AYODEJI
ALLEN-AYODEJI merged commit edcc064 into Trellis-Ecosystem:master Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants