From 0c2b7577b506fed67982a43c8cc3f480929c3689 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Sat, 11 Jul 2026 20:17:29 +0200 Subject: [PATCH] Fix warnings --- .github/workflows/compilation.yml | 12 ++++++------ .github/workflows/docker.yml | 27 ++++++++++++--------------- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 42e955d..2f84bb8 100755 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -75,7 +75,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install Ubuntu packages if: startsWith(matrix.os.runs-on, 'ubuntu') @@ -94,7 +94,7 @@ jobs: run: | curl -LO https://raw.githubusercontent.com/GiovanniBussi/macports-ci/master/macports-ci . ./macports-ci install --remove-brew --version=2.11.5 --sync=rsync - sudo port install gsl gmp mpfr libmpc libiconv bison flex gsed texinfo autoconf automake libtool md5sha1sum wget curl + sudo port install gsl gmp mpfr libmpc libiconv bison flex gsed texinfo autoconf automake libtool md5sha1sum wget curl cmake - name: Install MSYS2 packages if: startsWith(matrix.os.runs-on, 'windows') @@ -105,7 +105,7 @@ jobs: base-devel git make texinfo flex bison patch binutils mpc-devel tar wget curl autotools gettext gettext-devel mingw-w64-i686-readline mingw-w64-i686-gcc mingw-w64-i686-cmake - mingw-w64-i686-make mingw-w64-i686-libogg + mingw-w64-i686-make mingw-w64-i686-libogg mingw-w64-i686-libgnurx update: true - name: Runs all the stages in the shell @@ -127,7 +127,7 @@ jobs: tar -zcvf ps2dev-${{ matrix.os.runs-on }}.tar.gz ps2dev - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ github.event.repository.name }}-${{ matrix.os.runs-on }}-ps2dev-${{ matrix.os.architecture }}-${{ matrix.os.macos-package-manager }}-${{ steps.slug.outputs.sha8 }} path: ps2dev-${{ matrix.os.runs-on }}.tar.gz @@ -139,7 +139,7 @@ jobs: - name: Create pre-release if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && github.event.repository.name == 'ps2dev' && matrix.os.macos-package-manager != 'port' - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: files: ps2dev-${{ matrix.os.runs-on }}.tar.gz prerelease: true @@ -150,7 +150,7 @@ jobs: - name: Release if: startsWith(github.ref, 'refs/tags/') && github.event.repository.name == 'ps2dev' && matrix.os.macos-package-manager != 'port' - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: files: ps2dev-${{ matrix.os.runs-on }}.tar.gz tag_name: ${{ steps.tag.outputs.VERSION }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ded1140..10c573e 100755 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Prepare run: | @@ -37,7 +37,7 @@ jobs: printf 'PLATFORM_PAIR=%s\n' "${platform//\//-}" >> $GITHUB_ENV - name: Login to Github Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} @@ -63,13 +63,10 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ghcr.io/${{ github.repository }} - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Build and Push to container registry id: build uses: docker/build-push-action@v6 @@ -87,7 +84,7 @@ jobs: touch "${{ runner.temp }}/digests/${digest#sha256:}" - name: Upload digest - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: digests-${{ env.PLATFORM_PAIR }} path: ${{ runner.temp }}/digests/* @@ -107,7 +104,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install Ubuntu packages run: | @@ -115,21 +112,21 @@ jobs: sudo apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' install jq - name: Download digests - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: path: ${{ runner.temp }}/digests pattern: digests-* merge-multiple: true - name: Login to DockerHub - uses: docker/login-action@v3 + uses: docker/login-action@v4 if: env.DOCKER_USERNAME != null with: username: ${{ env.DOCKER_USERNAME }} password: ${{ env.DOCKER_PASSWORD }} - name: Login to Github Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} @@ -157,14 +154,14 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.DOCKER_CONTAINER_LIST }} tags: | type=raw,value=${{ env.DOCKER_TAG }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Create manifest list and push working-directory: ${{ runner.temp }}/digests @@ -212,7 +209,7 @@ jobs: printf 'NEW_DISPATCH_ACTION=%s\n' "$DISPATCH_ACTION" >> $GITHUB_ENV - name: Repository Dispatch to ${{ matrix.dest-repo }} - uses: peter-evans/repository-dispatch@v3 + uses: peter-evans/repository-dispatch@v4 if: env.DISPATCH_TOKEN != null && !contains(matrix.dest-repo, '/') with: repository: ${{ github.repository_owner }}/${{ matrix.dest-repo }} @@ -221,7 +218,7 @@ jobs: client-payload: '{"ref": "${{ github.ref }}", "parent_name": "${{ env.PAYLOAD_REPO_PARENT_NAME }}", "parent_sha": "${{ env.PAYLOAD_REPO_PARENT_SHA }}"}' - name: Repository Dispatch to specific ${{ matrix.dest-repo }} - uses: peter-evans/repository-dispatch@v3 + uses: peter-evans/repository-dispatch@v4 if: env.DISPATCH_TOKEN != null && contains(matrix.dest-repo, '/') with: repository: ${{ matrix.dest-repo }}