Thank you for your interest in contributing to setup-probitas!
- Fork and clone the repository
- Make your changes
- Test locally using the test workflow
- Submit a pull request
You can test the action locally by creating a test workflow in your fork:
name: Test Local Changes
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
- run: probitas --versionThe test workflow runs automatically on pull requests and tests:
- Basic setup on Ubuntu, macOS, and Windows
- Version selection (Deno 2.x and LTS)
- Caching functionality
- Installation without cache
When you're ready to release a new version:
If needed, update version references in documentation:
- README.md examples
- CONTRIBUTING.md
# For a new major/minor/patch release
git tag -a v1.0.0 -m "Release v1.0.0"
git push origin v1.0.0Go to the Releases page and:
- Click "Draft a new release"
- Choose the tag you just pushed (e.g.,
v1.0.0) - Set the release title (e.g.,
v1.0.0) - Add release notes describing changes
- Click "Publish release"
When you publish the release, the release workflow will automatically:
- Update the
v1tag to point tov1.0.0 - Update the
v1.0tag to point tov1.0.0 - Create a summary showing the updated tags
This allows users to use:
@v1- Always get the latest v1.x.x version@v1.0- Always get the latest v1.0.x version@v1.0.0- Pin to exact version
- All tests pass on main branch
- Version follows semantic versioning (vX.Y.Z)
- Release notes are clear and comprehensive
- Breaking changes are clearly documented
- Examples in README.md are up to date
- Use clear, descriptive variable names
- Keep shell scripts POSIX-compatible where possible
- Add comments for complex logic
- Follow existing formatting conventions
Feel free to open an issue for any questions or concerns.