Skip to content

Commit

Permalink
Added Action for composer with token to avoid errors when running tests
Browse files Browse the repository at this point in the history
This is not relates to this issue but required because tests won't pass
without this.
  • Loading branch information
rsanzante committed Jan 8, 2024
1 parent ea44ad4 commit 1b9a9f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ jobs:
runs-on: ubuntu-latest

steps:

- name: Checkout repository
uses: actions/checkout@v2

- name: Add composer
uses: php-actions/composer@v6
env:
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.PAT }}"} }'


- name: Add HTTP basic auth credentials
run: |
echo "auth.json path: $GITHUB_WORKSPACE/auth.json"
Expand Down

0 comments on commit 1b9a9f9

Please sign in to comment.