Skip to content

Commit

Permalink
Typing (#14)
Browse files Browse the repository at this point in the history
* Fix link href

* stan: improve typing

* build: upgrade ci
  • Loading branch information
g105b authored Sep 29, 2021
1 parent 863c606 commit f16a6a9
Show file tree
Hide file tree
Showing 6 changed files with 334 additions and 162 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- uses: php-actions/composer@v5
- uses: php-actions/composer@v6

- name: Archive build
run: mkdir /tmp/github-actions/ && tar -cvf /tmp/github-actions/build.tar ./
Expand All @@ -40,7 +40,7 @@ jobs:
run: tar -xvf /tmp/github-actions/build.tar ./

- name: PHP Unit tests
uses: php-actions/phpunit@v2
uses: php-actions/phpunit@v3
with:
php_version: 8.0
php_extensions: xdebug
Expand All @@ -61,6 +61,6 @@ jobs:
run: tar -xvf /tmp/github-actions/build.tar ./

- name: PHP Static Analysis
uses: php-actions/phpstan@v2
uses: php-actions/phpstan@v3
with:
path: src/
path: src/
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"description": "Synchronise two directories.",

"require": {
"php": ">=7.2",
"php": ">=8.0",
"phpgt/cli": "1.3.*",
"webmozart/glob": "4.*"
},

"require-dev": {
"phpunit/phpunit": "9.*",
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^0.12"
},

Expand Down
Loading

0 comments on commit f16a6a9

Please sign in to comment.