Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcyLina committed May 15, 2024
1 parent 9d88f2c commit 60db3a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/run-duster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@ name: Run Duster Fix

on:
push:
branches: [ main ]
branches: [main]
pull_request:

jobs:
duster:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- uses: actions/checkout@v2

- name: "Duster Fix"
uses: tighten/duster-action@v1
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Run tests
on:
pull_request:
push:
branches:
- main
branches: [main]

jobs:
test:
name: PHP 8.1, Laravel 9.*
Expand All @@ -20,14 +20,14 @@ jobs:
php-version: 8.1

- name: Cache Composer dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: php-8.1-laravel-8.*-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: php-8.1-laravel-8.*-composer-
key: php-8.1-laravel-9.*-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: php-8.1-laravel-9.*-composer-

- name: Cache npm dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.npm
key: npm-${{ hashFiles('**/package-lock.json') }}
Expand Down

0 comments on commit 60db3a7

Please sign in to comment.