diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 32b9d69..2b9043b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,6 +11,11 @@ updates: github-actions: patterns: - "*" + ignore: + # v1.0.0 dropped support for Tauri v1; this repo is still on Tauri v1. + # Remove once the desktop app migrates to Tauri v2. + - dependency-name: "tauri-apps/tauri-action" + update-types: ["version-update:semver-major"] # package.json and pnpm-lock.yaml. Minor and patch updates share one PR; # each major version gets its own, so one breaking major doesn't hold up the rest. diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index e00e3c3..0da93a6 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -34,7 +34,7 @@ jobs: rpm_name: ${{ steps.find-rpm.outputs.rpm_name }} steps: - name: Checkout code - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Set release tag id: vars @@ -50,7 +50,7 @@ jobs: stage-config: true - name: Build Tauri RPM - uses: tauri-apps/tauri-action@42e9df6c59070d114bf90dcd3943a1b8f138b113 # v0 + uses: tauri-apps/tauri-action@1deb371b0cd8bd54025b384f1cd735e725c4060f # v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -73,7 +73,7 @@ jobs: echo "Found RPM: $(basename "${RPMS[0]}")" - name: Create immutable dev- pre-release - uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2.6.2 + uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4 with: tag_name: ${{ steps.vars.outputs.release_tag }} name: ${{ steps.vars.outputs.release_tag }} diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 429700d..ba45c63 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -17,7 +17,7 @@ concurrency: jobs: build-image: name: Build and publish GHCR image - uses: slaclab/swapps-ci-helpers/.github/workflows/build-ghcr-image.yml@8bd53f378725947845695f855304e7780407c66e # v1.1.5 + uses: slaclab/swapps-ci-helpers/.github/workflows/build-ghcr-image.yml@9bd3f16145f87d30ed28c044c8e51121529840e0 # v1.1.6 permissions: contents: read packages: write diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 1385dd2..37a003c 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -35,7 +35,7 @@ jobs: echo "version=$version" >> "$GITHUB_OUTPUT" - name: Checkout code - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Set up Tauri build uses: ./.github/actions/setup-tauri @@ -48,7 +48,7 @@ jobs: stage-config: true - name: Build Tauri RPM - uses: tauri-apps/tauri-action@42e9df6c59070d114bf90dcd3943a1b8f138b113 # v0 + uses: tauri-apps/tauri-action@1deb371b0cd8bd54025b384f1cd735e725c4060f # v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -57,6 +57,6 @@ jobs: --config {"package":{"version":"${{ steps.ver.outputs.version }}"}} - name: Attach RPM to release - uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2.6.2 + uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4 with: files: src-tauri/target/release/bundle/rpm/*.rpm diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 68dffc5..8dc7b1d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -21,4 +21,4 @@ permissions: jobs: docs: - uses: slaclab/swapps-ci-helpers/.github/workflows/docs.yml@afaac9fd67e0b31c887a48c19d9a6b219ea72a8f + uses: slaclab/swapps-ci-helpers/.github/workflows/docs.yml@9bd3f16145f87d30ed28c044c8e51121529840e0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dabedeb..75445f4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ concurrency: jobs: lint: - uses: slaclab/swapps-ci-helpers/.github/workflows/js-check.yml@afaac9fd67e0b31c887a48c19d9a6b219ea72a8f + uses: slaclab/swapps-ci-helpers/.github/workflows/js-check.yml@9bd3f16145f87d30ed28c044c8e51121529840e0 with: node-version: "23.11.0" check-command: "pnpm run lint && pnpm run format:check && pnpm run typecheck" diff --git a/.github/workflows/tauri.yml b/.github/workflows/tauri.yml index dc00c75..77643b6 100644 --- a/.github/workflows/tauri.yml +++ b/.github/workflows/tauri.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout code - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Set up Tauri build uses: ./.github/actions/setup-tauri @@ -56,7 +56,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Set up Tauri build uses: ./.github/actions/setup-tauri @@ -64,13 +64,13 @@ jobs: stage-config: true - name: Build Tauri app - uses: tauri-apps/tauri-action@42e9df6c59070d114bf90dcd3943a1b8f138b113 # v0 + uses: tauri-apps/tauri-action@42e9df6c59070d114bf90dcd3943a1b8f138b113 # v0.5.20 - v1.0.0 dropped Tauri v1 support; this repo is still on Tauri v1. with: args: ${{ matrix.args }} - name: Upload macOS artifacts if: matrix.platform == 'macos-latest' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: trace-macos path: | @@ -79,7 +79,7 @@ jobs: - name: Upload Linux artifacts if: matrix.platform == 'ubuntu-22.04' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: trace-linux path: | @@ -89,7 +89,7 @@ jobs: - name: Upload Windows artifacts if: matrix.platform == 'windows-latest' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: trace-windows path: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f330a17..73c3a21 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,4 +11,4 @@ concurrency: jobs: test: - uses: slaclab/swapps-ci-helpers/.github/workflows/js-test.yml@afaac9fd67e0b31c887a48c19d9a6b219ea72a8f + uses: slaclab/swapps-ci-helpers/.github/workflows/js-test.yml@9bd3f16145f87d30ed28c044c8e51121529840e0