Skip to content

Commit b98f170

Browse files
author
Greg Bowler
authored
New function: getObject() (#37)
* test: implement unit tests * refactor: remove unused getClass function * feature: getObject closes #36 * ci: upgrade workflow * test: upgrade phpunit
1 parent 7c78d35 commit b98f170

File tree

6 files changed

+190
-101
lines changed

6 files changed

+190
-101
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111

1212
- name: Cache Composer dependencies
13-
uses: actions/cache@v2
13+
uses: actions/cache@v3
1414
with:
1515
path: /tmp/composer-cache
1616
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
1717

18-
- uses: php-actions/composer@v5
18+
- uses: php-actions/composer@v6
1919

2020
- name: Archive build
2121
run: mkdir /tmp/github-actions/ && tar -cvf /tmp/github-actions/build.tar ./
2222

2323
- name: Upload build archive for test runners
24-
uses: actions/upload-artifact@v2
24+
uses: actions/upload-artifact@v3
2525
with:
2626
name: build-artifact
2727
path: /tmp/github-actions
@@ -31,7 +31,7 @@ jobs:
3131
needs: [composer]
3232

3333
steps:
34-
- uses: actions/download-artifact@v2
34+
- uses: actions/download-artifact@v3
3535
with:
3636
name: build-artifact
3737
path: /tmp/github-actions
@@ -40,7 +40,7 @@ jobs:
4040
run: tar -xvf /tmp/github-actions/build.tar ./
4141

4242
- name: PHP Static Analysis
43-
uses: php-actions/phpstan@v2
43+
uses: php-actions/phpstan@v3
4444
with:
4545
path: src/
4646

@@ -49,7 +49,7 @@ jobs:
4949
needs: [ composer ]
5050

5151
steps:
52-
- uses: actions/download-artifact@v2
52+
- uses: actions/download-artifact@v3
5353
with:
5454
name: build-artifact
5555
path: /tmp/github-actions

0 commit comments

Comments
 (0)