diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4593a9..cdaa4ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: run: | sudo apt-get -y update sudo apt-get -y install tree - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure run: | ./autogen.sh @@ -49,7 +49,7 @@ jobs: run: shell: msys2 {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: msys2/setup-msys2@v2 with: msystem: MINGW64 @@ -75,7 +75,7 @@ jobs: runs-on: ubuntu-latest container: debian:stable steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Installing dependencies run: | apt-get update diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index fa8d67c..9671483 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -25,22 +25,22 @@ jobs: - linux/arm64 - linux/ppc64le steps: - - uses: actions/checkout@v3 - - uses: docker/metadata-action@v4 + - uses: actions/checkout@v4 + - uses: docker/metadata-action@v5 id: meta with: images: | ${{ github.repository }} labels: | org.opencontainers.image.source=https://github.com/troglobit/mg/tree/${{ github.sha }}/ - - uses: docker/setup-qemu-action@v2 - - uses: docker/setup-buildx-action@v2 + - uses: docker/setup-qemu-action@v3 + - uses: docker/setup-buildx-action@v3 - name: Log in to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - uses: docker/build-push-action@v4 + - uses: docker/build-push-action@v6 id: build with: context: . @@ -63,7 +63,7 @@ jobs: digest="${{ steps.build.outputs.digest }}" touch "/tmp/digests/${digest#sha256:}" - name: Upload digest - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: digests path: /tmp/digests/* @@ -74,15 +74,15 @@ jobs: needs: build steps: - name: Download digests - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: digests path: /tmp/digests - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ github.repository }} @@ -91,13 +91,13 @@ jobs: type=ref,event=tag type=edge - name: Log in to GHCR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 2e7d3a3..a3293a2 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -15,7 +15,7 @@ jobs: coverity: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Fetch latest Coverity Scan MD5 id: var env: @@ -25,7 +25,7 @@ jobs: --post-data "token=$TOKEN&project=${COVERITY_PROJ}&md5=1" \ -O coverity-latest.tar.gz.md5 echo "md5=$(cat coverity-latest.tar.gz.md5)" | tee -a $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: cache with: path: coverity-latest.tar.gz @@ -74,7 +74,7 @@ jobs: --form description="${PROJECT_NAME} $(git rev-parse HEAD)" \ https://scan.coverity.com/builds?project=${COVERITY_PROJ} - name: Upload build.log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverity-build.log path: cov-int/build-log.txt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f813331..0036cbd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Creating Makefiles ... run: | ./autogen.sh