From 081a0084b5061d89778b43d2a2dbc162115ba294 Mon Sep 17 00:00:00 2001 From: Nikolas Evers Date: Tue, 18 Jun 2024 00:05:16 +0200 Subject: [PATCH] use major versions for first-party actions (#148) --- .github/workflows/build.yml | 8 ++++---- .github/workflows/update-imagemagick.yml | 2 +- .github/workflows/update-libde265.yml | 2 +- .github/workflows/update-libheif.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e92d28..f22d100 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4 - name: Build packages run: DOCKER_BUILDKIT=1 docker build --build-arg UBUNTU_VERSION=${{ matrix.ubuntu }} --output binaries . @@ -53,13 +53,13 @@ jobs: run: magick -list format - name: Attest build provenance - uses: actions/attest-build-provenance@v1.2.0 + uses: actions/attest-build-provenance@v1 if: contains(github.ref, 'tags') with: subject-path: 'binaries/*' - name: Archive binary artifacts - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v4 with: name: binaries-${{ matrix.ubuntu }} path: binaries @@ -74,7 +74,7 @@ jobs: overwrite: true file_glob: true - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' && matrix.ubuntu == 'noble' with: ref: ${{ github.event.pull_request.head.ref }} diff --git a/.github/workflows/update-imagemagick.yml b/.github/workflows/update-imagemagick.yml index 51aeb6a..1c3de2a 100644 --- a/.github/workflows/update-imagemagick.yml +++ b/.github/workflows/update-imagemagick.yml @@ -9,7 +9,7 @@ jobs: main: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4 - run: wget -O version.json "https://api.github.com/repos/ImageMagick/ImageMagick/releases/latest" - name: Get latest version id: version diff --git a/.github/workflows/update-libde265.yml b/.github/workflows/update-libde265.yml index 5f74e55..07f0efc 100644 --- a/.github/workflows/update-libde265.yml +++ b/.github/workflows/update-libde265.yml @@ -9,7 +9,7 @@ jobs: main: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4 - run: wget -O version.json "https://api.github.com/repos/strukturag/libde265/releases/latest" - name: Get latest version id: version diff --git a/.github/workflows/update-libheif.yml b/.github/workflows/update-libheif.yml index e4457d1..9bc3c0e 100644 --- a/.github/workflows/update-libheif.yml +++ b/.github/workflows/update-libheif.yml @@ -9,7 +9,7 @@ jobs: main: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4 - run: wget -O version.json "https://api.github.com/repos/strukturag/libheif/releases/latest" - name: Get latest version id: version