Skip to content

Commit

Permalink
Merge branch 'up_1.x' into up_2.x
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/audit.yml
  • Loading branch information
a-menshchikov committed Oct 28, 2023
2 parents b0ab623 + 61b7bd0 commit 3bd5b02
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,18 @@ jobs:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout (Push)
uses: actions/checkout@v4
if: github.event_name == 'push'
with:
fetch-depth: 0

- name: Checkout (PR)
uses: actions/checkout@v4
if: github.event_name == 'pull_request'
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -25,12 +35,12 @@ jobs:

- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
path: ${{ steps.composer-cache.outputs.DIR }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-

Expand Down
1 change: 0 additions & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
strictBinaryOperands="true"
findUnusedPsalmSuppress="true"
sealAllMethods="true"
phpVersion="8.1"
xmlns="https://getpsalm.org/schema/config"
>
<projectFiles>
Expand Down

0 comments on commit 3bd5b02

Please sign in to comment.