Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup trunk instructions #228

Merged
merged 8 commits into from
Feb 28, 2024
Merged
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
17 changes: 17 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -321,6 +321,23 @@ requests". If you have checks that run on pull requests, you will need to supply
the upgrade action to run those checks. For more information, see
[create-pull-request](https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs).

## Automatic trunk setup

To install trunk on your CI machine

```yaml
jobs:
trunk_install:
name: Install trunk
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# >>> After this step, trunk is available as the env var TRUNK_PATH <<<
- name: Trunk install
uses: trunk-io/trunk-action/setup@v1
```

## Feedback

Join the [Trunk Community Slack][slack]. ❤️