Skip to content
New issue

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

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

Already on GitHub? # to your account

Add GA integration docs #140

Merged
merged 1 commit into from
Sep 15, 2022
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
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
1. [Tips & Tricks](#tips--tricks)
1. [Auto-installation](#auto-installation)
1. [Reduce clutter](#reduce-clutter)
1. [GitHub Actions integration](#github-actions-integration)
1. [Related plugins](#related-plugins)
1. [Backward Compatibility Promise](#backward-compatibility-promise)
1. [Contributing](#contributing)
Expand Down Expand Up @@ -186,6 +187,26 @@ diffs of `composer.lock` files.
/vendor-bin/**/composer.lock binary
```

### GitHub Actions integration

There is currently no way to leverage `ramsey/composer-install` to install all
namespace bins. However it is unlikely you need this in the CI and not locally,
in which case [forwarding the command](#forward-command-forward-command) should
be good enough.

If you still need to install specific bin namespaces, you can do it by setting
the `working-directory`:

```yaml
#...
- name: "Install PHP-CS-Fixer Composer dependencies"
uses: "ramsey/composer-install@v2"
with:
working-directory: "vendor-bin/php-cs-fixer"
```



## Related plugins

* [theofidry/composer-inheritance-plugin][theofidry-composer-inheritance-plugin]: Opinionated version
Expand Down