diff --git a/.github/workflows/dockerbuild.yml b/.github/workflows/dockerbuild.yml index e710bd5f..82d8611a 100644 --- a/.github/workflows/dockerbuild.yml +++ b/.github/workflows/dockerbuild.yml @@ -17,11 +17,11 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3 - name: Docker meta id: docker_meta - uses: docker/metadata-action@v3.5.0 + uses: docker/metadata-action@v4 with: images: | ${{ env.DOCKERHUB_SLUG }} @@ -33,26 +33,26 @@ jobs: type=raw,value=stable,enable=${{ startsWith(github.ref, 'refs/tags/20') }} - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1.6.0 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1.10.0 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Login to GitHub Container Registry - uses: docker/login-action@v1.10.0 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/bake-action@v1.6.0 + uses: docker/bake-action@v2 with: files: | ./docker-bake.hcl diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 582c4bcf..b00c898a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -9,11 +9,11 @@ jobs: documentation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: persist-credentials: false - name: Setup PHP - uses: shivammathur/setup-php@2.17.1 + uses: shivammathur/setup-php@v2 with: php-version: 8.0 - name: Install dependencies @@ -21,7 +21,7 @@ jobs: - name: Generate documentation run: daux generate - name: Deploy same repository 🚀 - uses: JamesIves/github-pages-deploy-action@v4.2.5 + uses: JamesIves/github-pages-deploy-action@v4 with: folder: "static" - branch: gh-pages \ No newline at end of file + branch: gh-pages diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 13021e7c..83911ab6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: matrix: php-versions: ['7.4'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} @@ -26,7 +26,7 @@ jobs: matrix: php-versions: ['7.4'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} @@ -38,7 +38,7 @@ jobs: executable_php_files_check: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: | if find -name "*.php" -executable -type f -print -exec false {} + then diff --git a/.github/workflows/prhtmlgenerator.yml b/.github/workflows/prhtmlgenerator.yml index 6267140d..cacb6642 100644 --- a/.github/workflows/prhtmlgenerator.yml +++ b/.github/workflows/prhtmlgenerator.yml @@ -11,7 +11,7 @@ jobs: # Needs additional permissions https://github.com/actions/first-interaction/issues/10#issuecomment-1041402989 steps: - name: Check out self - uses: actions/checkout@v2.3.2 + uses: actions/checkout@v3 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} @@ -31,7 +31,7 @@ jobs: docker build -t prbuild .; docker run -d -v $GITHUB_WORKSPACE/whitelist.txt:/app/whitelist.txt -v $GITHUB_WORKSPACE/DEBUG:/app/DEBUG -p 3001:80 prbuild - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.7' cache: 'pip' @@ -48,8 +48,7 @@ jobs: body="${body//'%'/'%25'}"; body="${body//$'\n'/'%0A'}"; body="${body//$'\r'/'%0D'}"; - echo "::set-output name=bodylength::${#body}" - echo "::set-output name=body::$body" + echo "bodylength=${#body}" >> $GITHUB_OUTPUT - name: Find Comment if: ${{ steps.testrun.outputs.bodylength > 130 }} uses: peter-evans/find-comment@v2 @@ -64,6 +63,5 @@ jobs: with: comment-id: ${{ steps.fc.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} - body: | - ${{ steps.testrun.outputs.body }} - edit-mode: replace \ No newline at end of file + body-file: comment.txt + edit-mode: replace diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 48e60ad0..e7684e6b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: matrix: php-versions: ['7.4', '8.0', '8.1'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }}