diff --git a/ .github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml similarity index 88% rename from .github/workflows/static-analysis.yml rename to .github/workflows/static-analysis.yml index 3def7a8..d224c3a 100755 --- a/ .github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -1,8 +1,10 @@ name: "Static analysis code" on: - - push - - pull_request + push: + branches: + - master + pull_request: env: COMPOSER_FLAGS: "--ansi --prefer-dist --no-interaction --no-progress" @@ -24,7 +26,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v3" - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -49,13 +51,13 @@ jobs: - "7.4" steps: - name: "Cancel Previous Runs" - uses: styfle/cancel-workflow-action@0.9.0 + uses: styfle/cancel-workflow-action@0.11.0 with: all_but_latest: true access_token: ${{ github.token }} - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v3" - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -81,7 +83,7 @@ jobs: run: | composer install ${{ env.COMPOSER_FLAGS }} rm composer.lock - composer config platform.php ${{ matrix.php }} + composer config platform.php ${{ matrix.php-version }} - name: Run phpstan run: composer phpstan \ No newline at end of file diff --git a/composer.json b/composer.json index 412b1d7..c460880 100755 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ } ], "require": { - "php": "=>7.2 <8.0", + "php": ">=7.2 <8.0", "ext-mbstring": "*" }, "require-dev": { diff --git a/doc/GET-TEST-CERT.md b/doc/GET-TEST-CERT.md index 4497dcb..46f9948 100755 --- a/doc/GET-TEST-CERT.md +++ b/doc/GET-TEST-CERT.md @@ -10,4 +10,4 @@ -certusage "1.3.6.1.5.5.7.3.4,1.3.6.1.5.5.7.3.2,1.2.643.2.2.34.6" \ -ku -cont '\\.\HDIMAGE\ContainerName' \ -provtype 80 ./main.req -``` +``` \ No newline at end of file diff --git a/tmp/src.txt b/tmp/src.txt new file mode 100755 index 0000000..fd0e9c8 --- /dev/null +++ b/tmp/src.txt @@ -0,0 +1 @@ +foo bar master \ No newline at end of file