Skip to content

Commit

Permalink
ci: always run both static analysis steps
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed Dec 3, 2023
1 parent c1a556f commit 7b603cd
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
node-version: 20.x

- name: Checkout the app
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build vue app
run: |
Expand Down Expand Up @@ -62,14 +62,14 @@ jobs:

steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
repository: nextcloud/server
ref: ${{ matrix.server-versions }}

- name: Checkout the app
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: apps/${{ env.APP_NAME }}

Expand Down Expand Up @@ -135,14 +135,14 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
repository: nextcloud/server
ref: ${{ matrix.server-versions }}

- name: Checkout the app
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: apps/${{ env.APP_NAME }}

Expand Down Expand Up @@ -194,14 +194,14 @@ jobs:

steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
repository: nextcloud/server
ref: ${{ matrix.server-versions }}

- name: Checkout the app
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: apps/${{ env.APP_NAME }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-vod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build
working-directory: go-vod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
repository: nextcloud/server
ref: stable27

- name: Checkout the app
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: apps/memories

Expand All @@ -46,22 +46,24 @@ jobs:
run: |
make install-tools
- name: Run Psalm
- name: Run PHP-CS-Fixer
if: ${{ ! cancelled() }}
working-directory: apps/memories
run: |
vendor/bin/psalm --no-cache --shepherd --stats --threads=max lib
vendor/bin/php-cs-fixer fix --dry-run --diff
- name: Run PHP-CS-Fixer
- name: Run Psalm
if: ${{ ! cancelled() }}
working-directory: apps/memories
run: |
vendor/bin/php-cs-fixer fix --dry-run --diff
vendor/bin/psalm --no-cache --shepherd --stats --threads=max lib
vue-lint:
name: Vue Lint
runs-on: ubuntu-latest
steps:
- name: Checkout the app
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit 7b603cd

Please sign in to comment.