VectorCraft: An open-source, vector art tool written by scratch in pure Rust
chore: bump github actions to fix Node 20 deprecation warnings
Dylan M. Taylor4f0809953d5d
diff --git a/.github/workflows/affinity-corpus.yml b/.github/workflows/affinity-corpus.ymlindex 3a49441be..87934817b 100644--- a/.github/workflows/affinity-corpus.yml+++ b/.github/workflows/affinity-corpus.yml@@ -24,7 +24,7 @@ jobs:CARGO_PROFILE_DEV_DEBUG: "0"CARGO_PROFILE_TEST_DEBUG: "0"steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- name: Install Rustuses: dtolnay/rust-toolchain@stablewith:diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.ymlindex 7cfc1e75b..9b4ebcc7b 100644--- a/.github/workflows/freebsd.yml+++ b/.github/workflows/freebsd.yml@@ -29,10 +29,10 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 300steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7# The optional craft-fonts build input (Japanese fonts), so the tests that need it run here# rather than skip. Pinned; bump deliberately (craftrules standards/fonts.md).- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: abb83316d96aa59c1cf64784289e378fe9fa5695@@ -67,10 +67,10 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 150steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7# Japanese UI/document fonts, embedded by crates/text/build.rs (CRAFT_FONTS_DIR in the VM).# Bump the commit deliberately; see craftrules standards/fonts.md.- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: abb83316d96aa59c1cf64784289e378fe9fa5695@@ -97,7 +97,7 @@ jobs:for want in '/bin/vectorcraft$' '/bin/vectorcraft-cli$' '/share/applications/.*\.desktop$' '/share/icons/hicolor/' '/share/doc/vectorcraft/NOTICE$' '/share/doc/vectorcraft/OFL-.*\.txt$'; dogrep -Eq "$want" /var/tmp/contents.txt || { echo "missing from the package: $want"; exit 1; }done- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: freebsd-packagepath: dist/release/*diff --git a/.github/workflows/packaging-lint.yml b/.github/workflows/packaging-lint.ymlindex b7566d429..4b7021dc0 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@v7- name: Install toolsrun: |sudo apt-get updatediff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 5f1f4ba90..706daac6d 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -43,7 +43,7 @@ jobs:date: ${{ steps.v.outputs.date }}prerelease: ${{ steps.v.outputs.prerelease }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- id: vname: Resolve versionrun: |@@ -71,10 +71,10 @@ jobs:VECTORCRAFT_VERSION: ${{ needs.version.outputs.version }}VECTORCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7# Japanese UI/document fonts, embedded by crates/text/build.rs (CRAFT_FONTS_DIR on the build# step). Bump the commit deliberately; see craftrules standards/fonts.md.- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: abb83316d96aa59c1cf64784289e378fe9fa5695@@ -102,7 +102,7 @@ jobs:CRAFT_FONTS_DIR: ${{ github.workspace }}/craft-fontsCRAFT_FONTS_REQUIRED: "1"run: packaging/macos/package.sh --arch universal- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: release-macospath: dist/release/*@@ -130,10 +130,10 @@ jobs:VECTORCRAFT_VERSION: ${{ needs.version.outputs.version }}VECTORCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7# Japanese UI/document fonts, embedded by crates/text/build.rs (CRAFT_FONTS_DIR on the build# step). Bump the commit deliberately; see craftrules standards/fonts.md.- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: abb83316d96aa59c1cf64784289e378fe9fa5695@@ -167,7 +167,7 @@ jobs:CRAFT_FONTS_DIR: ${{ github.workspace }}/craft-fontsCRAFT_FONTS_REQUIRED: "1"run: ./packaging/windows/package.ps1 -Arch ${{ matrix.arch }}- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: release-windows-${{ matrix.arch }}path: dist/release/*@@ -191,10 +191,10 @@ jobs:VECTORCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}NFPM_VERSION: 2.47.0steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7# Japanese UI/document fonts, embedded by crates/text/build.rs (CRAFT_FONTS_DIR on the build# step). Bump the commit deliberately; see craftrules standards/fonts.md.- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: abb83316d96aa59c1cf64784289e378fe9fa5695@@ -236,7 +236,7 @@ jobs:| grep -F "gh-releases-zsync|${GITHUB_REPOSITORY%%/*}|${GITHUB_REPOSITORY#*/}|latest|vectorcraft-*-linux-${{ matrix.arch }}.AppImage.zsync"test -s "$appimage.zsync"done- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: release-linux-${{ matrix.arch }}path: dist/release/*@@ -259,8 +259,8 @@ jobs:VECTORCRAFT_VERSION: ${{ needs.version.outputs.version }}VECTORCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}steps:- - uses: actions/checkout@v4- - uses: actions/download-artifact@v4+ - uses: actions/checkout@v7+ - uses: actions/download-artifact@v8with:name: release-linux-${{ matrix.arch }}path: dist/linux@@ -274,7 +274,7 @@ jobs:sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0- name: Build the Flatpak bundlerun: packaging/linux/flatpak-bundle.sh "dist/linux/vectorcraft-$VECTORCRAFT_VERSION-linux-${{ matrix.arch }}.tar.gz"- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: release-flatpak-${{ matrix.arch }}path: dist/release/*.flatpak@@ -292,10 +292,10 @@ jobs:VECTORCRAFT_VERSION: ${{ needs.version.outputs.version }}VECTORCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7# Japanese UI/document fonts, embedded by crates/text/build.rs (CRAFT_FONTS_DIR in the VM).# Bump the commit deliberately; see craftrules standards/fonts.md.- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: abb83316d96aa59c1cf64784289e378fe9fa5695@@ -328,7 +328,7 @@ jobs:bash packaging/freebsd/package.shtar -tzf dist/release/vectorcraft-*-freebsd-x86_64.tar.gz \| grep -E '/bin/vectorcraft$|/bin/vectorcraft-cli$|/share/applications/ai\.storyteller\.vectorcraft\.desktop$'- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: release-freebsdpath: dist/release/*@@ -344,10 +344,10 @@ jobs:VECTORCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}TRUNK_VERSION: 0.21.14steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7# Japanese UI/document fonts, embedded by crates/text/build.rs (CRAFT_FONTS_DIR on the build# step). Bump the commit deliberately; see craftrules standards/fonts.md.- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:repository: storytold/craft-fontsref: abb83316d96aa59c1cf64784289e378fe9fa5695@@ -371,7 +371,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@v7with:name: release-webpath: dist/release/*@@ -392,7 +392,7 @@ jobs:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}GH_REPO: ${{ github.repository }}steps:- - uses: actions/download-artifact@v4+ - uses: actions/download-artifact@v8with:pattern: release-*path: artifactsdiff --git a/.github/workflows/windows-arm64.yml b/.github/workflows/windows-arm64.ymlindex c47ed761a..7c8c4a239 100644--- a/.github/workflows/windows-arm64.yml+++ b/.github/workflows/windows-arm64.yml@@ -36,8 +36,8 @@ jobs:runs-on: windows-latesttimeout-minutes: 90steps:- - uses: actions/checkout@v4- - uses: dtolnay/rust-toolchain@89b12181fb390509a0842a86cc55eeb8eb928c1d # stable+ - uses: actions/checkout@v7+ - uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stablewith:targets: aarch64-pc-windows-msvc- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2@@ -53,7 +53,7 @@ jobs:env:DIST: ${{ github.workspace }}\dist\arm64run: ./packaging/windows/package.ps1 -Arch arm64- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v7with:name: vectorcraft-windows-arm64path: dist/arm64/*@@ -66,7 +66,7 @@ jobs:runs-on: windows-11-armtimeout-minutes: 30steps:- - uses: actions/download-artifact@v4+ - uses: actions/download-artifact@v8with:name: vectorcraft-windows-arm64path: distdiff --git a/.github/workflows/windows7.yml b/.github/workflows/windows7.ymlindex aeaa756c8..403be166f 100644--- a/.github/workflows/windows7.yml+++ b/.github/workflows/windows7.yml@@ -22,11 +22,11 @@ jobs:runs-on: windows-2022timeout-minutes: 90steps:- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0with:arch: x64- - uses: dtolnay/rust-toolchain@7e38f4b43b4db5c8dd498af069a4f6196df1d067 # master+ - uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # masterwith:toolchain: nightly-2026-10-01components: rust-src@@ -36,7 +36,7 @@ jobs:- name: Build, check and test the portable packageshell: pwshrun: ./packaging/windows/windows7.ps1 -Test- - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: vectorcraft-windows7-x64-portablepath: dist/release/vectorcraft-windows7-x64-portable.zip