Skip to content

Commit

Permalink
Add GA integration docs (bamarni#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Sep 15, 2022
1 parent 53938cb commit b59242a
Showing 1 changed file with 21 additions and 0 deletions.
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

0 comments on commit b59242a

Please sign in to comment.