Skip to content

Commit

Permalink
updata all GitHub Workflows to fix #153
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Oct 20, 2022
1 parent a8bb759 commit c9649c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
git-fetch-depth: 1
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -33,7 +33,7 @@ jobs:
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache composer dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composercache.outputs.dir }}
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}
Expand All @@ -45,7 +45,7 @@ jobs:
run: composer config minimum-stability dev && composer require humbug/box:^3.13 --dev --update-with-all-dependencies
- name: Build phar
run: ./vendor/bin/box compile
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v3
name: Publish the PHAR
with:
name: phplint.phar
Expand All @@ -57,7 +57,7 @@ jobs:
needs: [build]
if: github.event_name == 'release'
steps:
- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v3
with:
name: phplint.phar
path: .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@v3
- name: Checking PHP syntax error
uses: overtrue/[email protected]
with:
Expand Down

0 comments on commit c9649c1

Please sign in to comment.