Skip to content

Commit a47dc62

Browse files
committed
wip
1 parent 3508fff commit a47dc62

3 files changed

Lines changed: 29 additions & 19 deletions

File tree

.github/workflows/audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020

2121
jobs:
2222
php:
23-
uses: typisttech/.github/.github/workflows/audit-php.yml@v5
23+
uses: typisttech/.github/.github/workflows/audit-php.yml@v5.2.1
2424

2525
go:
26-
uses: typisttech/.github/.github/workflows/audit-go.yml@v5
26+
uses: typisttech/.github/.github/workflows/audit-go.yml@v5.2.1

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ permissions:
1818

1919
jobs:
2020
actions:
21-
uses: typisttech/.github/.github/workflows/lint-actions.yml@7b89b88a2e9768adc532a741ec37de5921ad248e # v5.1.1
21+
uses: typisttech/.github/.github/workflows/lint-actions.yml@v5.2.1
2222

2323
php:
24-
uses: typisttech/.github/.github/workflows/lint-php.yml@v5
24+
uses: typisttech/.github/.github/workflows/lint-php.yml@v5.2.1
2525
with:
2626
phpstan: true
2727
box: true
2828
box-php-version: '8.5'
2929
box-version: '4'
3030

3131
go:
32-
uses: typisttech/.github/.github/workflows/lint-go.yml@7b89b88a2e9768adc532a741ec37de5921ad248e # v5.1.1
32+
uses: typisttech/.github/.github/workflows/lint-go.yml@v5.2.1
3333
with:
3434
golangci-lint: true
3535
golangci-lint-version: v2.11 # Must be kept in sync with @../../mise.toml

.github/workflows/test.yml

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
pest:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v6
24+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+
with:
26+
persist-credentials: false
2527

2628
- uses: shivammathur/setup-php@v2
2729
with:
@@ -31,38 +33,42 @@ jobs:
3133

3234
- run: composer pest:unit -- --coverage-clover coverage-unit.xml --ci
3335

34-
- uses: actions/upload-artifact@v6
36+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
3537
with:
36-
name: coverage
3738
path: coverage-unit.xml
39+
archive: false
40+
if-no-files-found: error
3841

3942
codecov:
4043
needs: pest
4144
runs-on: ubuntu-latest
4245
permissions:
46+
contents: read
4347
id-token: write
4448
steps:
45-
- uses: actions/checkout@v6
49+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
50+
with:
51+
persist-credentials: false
4652

47-
- uses: actions/download-artifact@v7
53+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
4854
with:
49-
name: coverage
55+
name: coverage.out
5056

51-
- uses: codecov/codecov-action@v5
57+
- uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
5258
with:
5359
use_oidc: true
5460
fail_ci_if_error: true
5561
disable_search: true
5662
files: coverage-unit.xml
57-
flags: unit
5863

5964
phar:
6065
runs-on: ubuntu-24.04
6166
outputs:
6267
php-version: ${{ steps.setup-php.outputs.php-version }}
6368
steps:
64-
- uses: actions/checkout@v6
69+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6570
with:
71+
persist-credentials: false
6672
fetch-depth: 0
6773

6874
- uses: shivammathur/setup-php@v2
@@ -77,10 +83,10 @@ jobs:
7783

7884
- run: box compile
7985

80-
- uses: actions/upload-artifact@v6
86+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8187
with:
82-
name: phar
8388
path: phar/php-matrix
89+
archive: false
8490
if-no-files-found: error
8591

8692
build:
@@ -118,10 +124,14 @@ jobs:
118124
PATTERN: spc-${{ matrix.spc-variant }}.tar.gz
119125
GH_TOKEN: ${{ github.token }}
120126

121-
- uses: actions/download-artifact@v7
127+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
122128
with:
123-
name: phar
124-
path: phar
129+
name: phar/php-matrix
130+
131+
# TODO!
132+
- run: ls
133+
# TODO!
134+
- run: ls phar
125135

126136
- name: Restore cached micro.sfx
127137
id: restore-micro-sfx

0 commit comments

Comments
 (0)