Skip to content

Allow manual CI runs and restrict job permissions#1

Merged
yfaming merged 1 commit intomainfrom
codex/set-up-github-actions-for-thor-project
Jan 17, 2026
Merged

Allow manual CI runs and restrict job permissions#1
yfaming merged 1 commit intomainfrom
codex/set-up-github-actions-for-thor-project

Conversation

@yfaming
Copy link
Owner

@yfaming yfaming commented Jan 17, 2026

Motivation

  • Add a CI workflow to validate formatting, linting, and tests on push to main, pull_request, and manual runs, while limiting job permissions to the least required.

Description

  • Add .github/workflows/ci.yml which triggers on push to main, pull_request, and workflow_dispatch, defines a rust job running on ubuntu-latest with permissions: contents: read, and runs steps to checkout, install the Rust toolchain with rustfmt and clippy, cache Cargo, run cargo fmt --all -- --check, run cargo clippy --all-targets --all-features -- -D warnings, and run cargo test --all-targets --all-features.

Testing

  • No automated tests were executed as part of this change; the workflow will run on CI when triggered by push/pull_request or manual workflow_dispatch.

Codex Task

@yfaming yfaming force-pushed the codex/set-up-github-actions-for-thor-project branch from 01e1768 to 66d12d8 Compare January 17, 2026 15:44
@yfaming yfaming merged commit 49c17d3 into main Jan 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant