Skip to content

Commit

Permalink
Issue #403: Support local act runner (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish authored Feb 19, 2024
1 parent 8c96b5d commit 517a509
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,9 @@ They are composite actions which can be used in any of your workflows e.g.
ssh-known-hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
```
Tests can be run locally with [act](https://github.com/nektos/act):
`act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:runner-latest -j Static-Tests`
### Composer Lock Diff
Update Pull Request descriptions with a markdown table of any changes detected
in `composer.lock` using [composer-lock-diff](https://github.com/davidrjonas/composer-lock-diff).
Expand Down
5 changes: 5 additions & 0 deletions scaffold/github/actions/common/ddev/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ runs:
sudo apt install -y ddev
fi
# Support local runner https://github.com/nektos/act
if [ "$ACT" != "" ]; then
sudo chown runner:docker /var/run/docker.sock
fi
ddev config global --instrumentation-opt-in=false --omit-containers=ddev-ssh-agent
if [ "${{ inputs.composer-cache-dir }}" != "false" ]; then
Expand Down

0 comments on commit 517a509

Please sign in to comment.