LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
chore: bump github actions to fix Node 20 deprecation warnings
Dylan M. Taylor96ab5617b80e
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.ymlindex 0b528ae10..bee7b484d 100644--- a/.github/workflows/freebsd.yml+++ b/.github/workflows/freebsd.yml@@ -26,15 +26,14 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 300steps:- - uses: actions/checkout@v4- # Optional font build input, so the Japanese font tests run (they skip without it).- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: 8dcdacd5153e64560d109541a47d806f26f048c0path: craft-fonts- name: Build and test in a FreeBSD VM- uses: vmactions/freebsd-vm@c46abacb49f09938ca4e1702d15d836285d694cc # v1+ uses: vmactions/freebsd-vm@c46abacb49f09938ca4e1702d15d836285d694cc # v1.5.9with:release: "14.3"usesh: truediff --git a/.github/workflows/packaging-lint.yml b/.github/workflows/packaging-lint.ymlindex 0e2388a62..02ebdf665 100644--- a/.github/workflows/packaging-lint.yml+++ b/.github/workflows/packaging-lint.yml@@ -23,7 +23,7 @@ jobs:env:ACTIONLINT_VERSION: 1.7.12steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- name: Install toolsrun: |sudo apt-get updatediff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex b9c3a1ea3..d830bc2ff 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -44,7 +44,7 @@ jobs:date: ${{ steps.v.outputs.date }}prerelease: ${{ steps.v.outputs.prerelease }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- id: vname: Resolve versionrun: |@@ -72,17 +72,16 @@ jobs:LIGHTCRAFT_VERSION: ${{ needs.version.outputs.version }}LIGHTCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}steps:- - uses: actions/checkout@v4- # Fonts (optional build input; required for releases): see craftrules standards/fonts.md.- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: 8dcdacd5153e64560d109541a47d806f26f048c0 # bump deliberatelypath: craft-fonts- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stablewith:targets: aarch64-apple-darwin, x86_64-apple-darwin- - uses: Swatinem/rust-cache@v2+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2with:key: release-macos-universal- name: Apply version override@@ -102,7 +101,7 @@ jobs:APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}run: packaging/macos/package.sh --arch universal- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: release-macospath: dist/release/*@@ -130,17 +129,16 @@ jobs:LIGHTCRAFT_VERSION: ${{ needs.version.outputs.version }}LIGHTCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}steps:- - uses: actions/checkout@v4- # Fonts (optional build input; required for releases): see craftrules standards/fonts.md.- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: 8dcdacd5153e64560d109541a47d806f26f048c0 # bump deliberatelypath: craft-fonts- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stablewith:targets: ${{ matrix.target }}- - uses: Swatinem/rust-cache@v2+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2with:key: release-windows-${{ matrix.arch }}- name: Apply version override@@ -164,7 +162,7 @@ jobs:AZURE_SIGNING_ACCOUNT: ${{ secrets.AZURE_SIGNING_ACCOUNT }}AZURE_CERT_PROFILE: ${{ secrets.AZURE_CERT_PROFILE }}run: ./packaging/windows/package.ps1 -Arch ${{ matrix.arch }}- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: release-windows-${{ matrix.arch }}path: dist/release/*@@ -187,9 +185,8 @@ jobs:LIGHTCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}NFPM_VERSION: 2.47.0steps:- - uses: actions/checkout@v4- # Fonts (optional build input; required for releases): see craftrules standards/fonts.md.- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: 8dcdacd5153e64560d109541a47d806f26f048c0 # bump deliberately@@ -203,8 +200,8 @@ jobs:curl -fsSL -o "$RUNNER_TEMP/nfpm.deb" \"https://github.com/goreleaser/nfpm/releases/download/v${NFPM_VERSION}/nfpm_${NFPM_VERSION}_${{ matrix.deb }}.deb"sudo dpkg -i "$RUNNER_TEMP/nfpm.deb"- - uses: dtolnay/rust-toolchain@stable- - uses: Swatinem/rust-cache@v2+ - uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2with:key: release-linux-${{ matrix.arch }}- name: Apply version override@@ -228,7 +225,7 @@ jobs:"$appimage" --appimage-updateinformation | grep -F 'gh-releases-zsync|'test -s "$appimage.zsync"done- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: release-linux-${{ matrix.arch }}path: dist/release/*@@ -250,8 +247,8 @@ jobs:LIGHTCRAFT_VERSION: ${{ needs.version.outputs.version }}LIGHTCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}steps:- - uses: actions/checkout@v4- - uses: actions/download-artifact@v4+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2with:name: release-linux-${{ matrix.arch }}path: dist/linux@@ -265,7 +262,7 @@ jobs:sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0- name: Build the Flatpak bundlerun: packaging/linux/flatpak-bundle.sh "dist/linux/lightcraft-$LIGHTCRAFT_VERSION-linux-${{ matrix.arch }}.tar.gz"- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: release-flatpak-${{ matrix.arch }}path: dist/release/*.flatpak@@ -282,16 +279,15 @@ jobs:LIGHTCRAFT_VERSION: ${{ needs.version.outputs.version }}LIGHTCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}steps:- - uses: actions/checkout@v4- # Fonts (optional build input; required for releases): see craftrules standards/fonts.md.- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: 8dcdacd5153e64560d109541a47d806f26f048c0 # bump deliberatelypath: craft-fonts- name: Build and package in a FreeBSD VM (tar.gz)# vmactions/freebsd-vm v1.5.9, pinned by commit (it runs our build).- uses: vmactions/freebsd-vm@c46abacb49f09938ca4e1702d15d836285d694cc+ uses: vmactions/freebsd-vm@c46abacb49f09938ca4e1702d15d836285d694cc # v1.5.9with:release: "14.3"usesh: true@@ -316,7 +312,7 @@ jobs:bash packaging/freebsd/package.shtar -tzf dist/release/lightcraft-*-freebsd-x86_64.tar.gz \| grep -E '/bin/lightcraft$|/bin/lightcraft-cli$|/share/applications/ai\.storyteller\.lightcraft\.desktop$|/share/doc/lightcraft/LICENSE-MIT$'- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: release-freebsd-x86_64path: dist/release/*@@ -331,17 +327,16 @@ jobs:LIGHTCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}WASM_BINDGEN_VERSION: 0.2.129steps:- - uses: actions/checkout@v4- # Fonts (optional build input; required for releases): see craftrules standards/fonts.md.- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: 8dcdacd5153e64560d109541a47d806f26f048c0 # bump deliberatelypath: craft-fonts- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stablewith:targets: wasm32-unknown-unknown- - uses: Swatinem/rust-cache@v2+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2with:key: release-web- name: Install wasm-bindgen CLI@@ -359,7 +354,7 @@ jobs:CRAFT_FONTS_DIR: ${{ github.workspace }}/craft-fontsCRAFT_FONTS_REQUIRED: "1"run: packaging/web/package.sh- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: release-webpath: dist/release/*@@ -378,7 +373,7 @@ jobs:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}GH_REPO: ${{ github.repository }}steps:- - uses: actions/download-artifact@v4+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2with:pattern: release-*path: artifactsdiff --git a/.github/workflows/windows-arm64.yml b/.github/workflows/windows-arm64.ymlindex d6067b3f2..1cccd858b 100644--- a/.github/workflows/windows-arm64.yml+++ b/.github/workflows/windows-arm64.yml@@ -36,11 +36,11 @@ jobs:runs-on: windows-latesttimeout-minutes: 90steps:- - uses: actions/checkout@v4- - uses: dtolnay/rust-toolchain@89b12181fb390509a0842a86cc55eeb8eb928c1d # stable+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stablewith:targets: aarch64-pc-windows-msvc- - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2with:key: windows-arm64-package- name: Install WiX@@ -51,7 +51,7 @@ jobs:env:DIST: ${{ github.workspace }}\dist\arm64run: ./packaging/windows/package.ps1 -Arch arm64- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: lightcraft-windows-arm64path: dist/arm64/*@@ -64,7 +64,7 @@ jobs:runs-on: windows-11-armtimeout-minutes: 30steps:- - uses: actions/download-artifact@v4+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2with:name: lightcraft-windows-arm64path: dist