diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 2c25e959..dbf699e7 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -1,6 +1,11 @@ name: "coding standards" -on: ["pull_request", "push"] +on: + pull_request: ~ + push: ~ + schedule: + # Do not make it the first of the month and/or midnight since it is a very busy time + - cron: "* 10 5 * *" jobs: coding-standards: @@ -8,7 +13,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "build the environment" run: "dev/bin/docker-compose build" diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 99aa0f09..cf73b695 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -1,6 +1,11 @@ name: "static analysis" -on: ["pull_request", "push"] +on: + pull_request: ~ + push: ~ + schedule: + # Do not make it the first of the month and/or midnight since it is a very busy time + - cron: "* 10 5 * *" jobs: static-analysis: @@ -8,7 +13,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "build the environment" run: "dev/bin/docker-compose build" diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 9f32a125..e21d40a9 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -1,6 +1,11 @@ name: "unit tests" -on: [ "pull_request", "push" ] +on: + pull_request: ~ + push: ~ + schedule: + # Do not make it the first of the month and/or midnight since it is a very busy time + - cron: "* 10 5 * *" jobs: tests: @@ -36,7 +41,7 @@ jobs: steps: - name: "checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "build the PHP8 environment" run: "dev/bin/docker-compose build --build-arg PHP_VERSION=${{ matrix.php }} --build-arg XDEBUG_VERSION='3.2.0' php" diff --git a/composer.json b/composer.json index acb20aca..19c7eb4d 100644 --- a/composer.json +++ b/composer.json @@ -40,10 +40,7 @@ "psr-4": { "League\\Bundle\\OAuth2ServerBundle\\Tests\\": "tests/" } }, "config": { - "sort-packages": true, - "allow-plugins": { - "bamarni/composer-bin-plugin": true - } + "sort-packages": true }, "extra": { "branch-alias": { diff --git a/dev/docker/Dockerfile b/dev/docker/Dockerfile index d9db2b6e..88b3fe23 100644 --- a/dev/docker/Dockerfile +++ b/dev/docker/Dockerfile @@ -1,4 +1,4 @@ -ARG PHP_VERSION=7.4 +ARG PHP_VERSION=8.1 FROM php:${PHP_VERSION}-cli-alpine LABEL maintainer="Petar Obradović "