diff --git a/.github/workflows/Linux-arm-pack.yml b/.github/workflows/Linux-arm-pack.yml index 9ebab432fa..9fc39f4a64 100644 --- a/.github/workflows/Linux-arm-pack.yml +++ b/.github/workflows/Linux-arm-pack.yml @@ -66,25 +66,25 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 # ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - name: Checkout Source code if: github.event_name == 'workflow_dispatch' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.sha }} @@ -107,7 +107,7 @@ jobs: - name: Get packpack tool - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ env.PACKPACK_REPO }} path: tools @@ -144,7 +144,7 @@ jobs: sha256sum ${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb | tee ${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb.sha256sum - name: Artifact Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-${{ matrix.dist.name }}-${{ matrix.dist.arch }} path: | diff --git a/.github/workflows/Linux-pack.yml b/.github/workflows/Linux-pack.yml index 8416792c59..6ba486d9a5 100644 --- a/.github/workflows/Linux-pack.yml +++ b/.github/workflows/Linux-pack.yml @@ -57,25 +57,25 @@ jobs: steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 # ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - name: Checkout Source code if: github.event_name == 'workflow_dispatch' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.sha }} @@ -97,7 +97,7 @@ jobs: echo "GIT_HASH=${git_hash}" >> $GITHUB_ENV - name: Get packpack tool - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ env.PACKPACK_REPO }} path: tools @@ -120,7 +120,7 @@ jobs: sha256sum ${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb | tee ${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb.sha256sum - name: Artifact Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-${{ matrix.dist.name }}-${{ matrix.dist.arch }} path: | @@ -150,21 +150,21 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 # ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - name: Checkout Source code if: github.event_name == 'workflow_dispatch' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.sha }} @@ -186,7 +186,7 @@ jobs: echo "GIT_HASH=${git_hash}" >> $GITHUB_ENV - name: Get packpack tool - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ env.PACKPACK_REPO }} path: tools @@ -237,7 +237,7 @@ jobs: - name: Artifact Upload if: matrix.dist.os == 'fedora' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-${{ matrix.dist.name }}-${{ matrix.dist.arch }} path: | @@ -246,7 +246,7 @@ jobs: - name: Artifact Upload if: matrix.dist.os == 'opensuse-leap' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-${{ matrix.dist.name }}-${{ matrix.dist.arch }} path: | @@ -279,21 +279,21 @@ jobs: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 # ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - name: Checkout Source code if: github.event_name == 'workflow_dispatch' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.sha }} @@ -360,7 +360,7 @@ jobs: sha256sum Flameshot-${VERSION}.x86_64.AppImage | tee Flameshot-${VERSION}.x86_64.AppImage.sha256sum - name: Artifact Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-appimage-x86_64 path: | @@ -374,20 +374,20 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - name: Checkout Source code if: github.event_name == 'workflow_dispatch' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.sha }} @@ -440,7 +440,7 @@ jobs: cd "$GITHUB_WORKSPACE/" || { >&2 echo "Cannot cd to '$GITHUB_WORKSPACE/'!"; exit 11 ; } sha256sum org.flameshot.Flameshot-${VERSION}.x86_64.flatpak | tee org.flameshot.Flameshot-${VERSION}.x86_64.flatpak.sha256sum - name: Artifact Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-flatpak-x86_64 path: | @@ -454,13 +454,13 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -468,7 +468,7 @@ jobs: - name: Checkout Source code if: github.event_name == 'workflow_dispatch' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.sha }} @@ -503,7 +503,7 @@ jobs: cd "$GITHUB_WORKSPACE/build/" || { >&2 echo "Cannot cd to '$GITHUB_WORKSPACE/build/'!"; exit 11 ; } sha256sum ${PRODUCT}-${VERSION}-${RELEASE}.amd64.snap | tee ${PRODUCT}-${VERSION}-${RELEASE}.amd64.snap.sha256sum - name: Artifact Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-snap-x86_64 path: | diff --git a/.github/workflows/MacOS-pack.yml b/.github/workflows/MacOS-pack.yml index 755abefd05..81113d8042 100644 --- a/.github/workflows/MacOS-pack.yml +++ b/.github/workflows/MacOS-pack.yml @@ -43,17 +43,17 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} - name: Checkout Source code if: github.event_name == 'workflow_dispatch' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.sha }} @@ -92,7 +92,7 @@ jobs: ninja create_dmg - name: Artifact Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-macos-${{ matrix.dist.arch }} path: ${{ github.workspace }}/build/src/Flameshot-${{ env.VERSION }}.dmg diff --git a/.github/workflows/Windows-pack.yml b/.github/workflows/Windows-pack.yml index 3ca1f943e8..d6eba157e0 100644 --- a/.github/workflows/Windows-pack.yml +++ b/.github/workflows/Windows-pack.yml @@ -51,21 +51,21 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 # ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - name: Checkout Source code if: github.event_name == 'workflow_dispatch' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.sha }} @@ -178,7 +178,7 @@ jobs: - name: Artifact Upload if: matrix.type == 'installer' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-win-${{ matrix.config.arch }}-${{ matrix.type }} path: | @@ -188,7 +188,7 @@ jobs: - name: Artifact Upload if: matrix.type == 'portable' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-win-${{ matrix.config.arch }}-${{ matrix.type }} path: | diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 48b97dec90..b626193a9f 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -32,17 +32,17 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} - name: Checkout Source code if: github.event_name == 'workflow_dispatch' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.sha }} @@ -100,7 +100,7 @@ jobs: } steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Fix Python path shell: pwsh diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 2594be0899..8fbe212e25 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -23,13 +23,13 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} - - uses: DoozyX/clang-format-lint-action@v0.13 + - uses: DoozyX/clang-format-lint-action@v0.18 with: source: './src' extensions: 'h,cpp' diff --git a/.github/workflows/deploy-dev-docs.yml b/.github/workflows/deploy-dev-docs.yml index b472ed46a0..6071b0249d 100644 --- a/.github/workflows/deploy-dev-docs.yml +++ b/.github/workflows/deploy-dev-docs.yml @@ -22,7 +22,7 @@ jobs: git+https://github.com/veracioux/mkdoxy@v1.0.0 - name: Checkout flameshot source - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: path: 'flameshot' @@ -32,7 +32,7 @@ jobs: make build - name: Checkout flameshot website - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: 'flameshot-org/flameshot-org.github.io' ref: 'gh-pages'