@@ -27,17 +27,17 @@ jobs:
2727
2828 steps :
2929 - name : Checkout
30- uses : actions/checkout@v4
30+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131 with :
3232 submodules : recursive
3333 - name : Set up PHP ${{ matrix.php }}
34- uses : shivammathur/setup-php@v2
34+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
3535 with :
3636 php-version : ${{ matrix.php }}
3737
3838 - name : Install openapi-generator-cli
3939 run : echo "OPENAPI_GENERATOR_VERSION=7.11.0" >> $GITHUB_ENV
40- - uses : actions/cache@v4
40+ - uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4141 id : openapi-generator-cache
4242 env :
4343 cache-name : openapi-generator-cache
@@ -62,15 +62,15 @@ jobs:
6262 run : |
6363 echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
6464
65- - uses : actions/cache@v4
65+ - uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
6666 with :
6767 path : ${{ steps.composer-cache.outputs.dir }}
6868 key : ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
6969 restore-keys : |
7070 ${{ runner.os }}-php-${{ matrix.php }}-
7171
7272 - name : Install dependencies with Composer
73- uses : ramsey/composer-install@v2
73+ uses : ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
7474
7575 - name : Check copyrights
7676 if : matrix.analysis
9191 - name : Run unit tests
9292 if : matrix.analysis
9393 run : ./vendor/bin/phpunit --test-suffix=Test.php --testdox
94+
95+ pinact :
96+ runs-on : ubuntu-latest
97+ permissions :
98+ contents : read
99+ steps :
100+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
101+ - name : Run pinact
102+ uses : suzuki-shunsuke/pinact-action@a6896d13d22e2bf108a78b0c52d3f867c1f41b34 # v0.2.1
103+ with :
104+ skip_push : " true"
0 commit comments