Skip to content

Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.

CI: pin the Snap and Flatpak actions to full commits; the gate runs every model test

Yashwanth Kamireddi172baf9ffa64
diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml
index dcd2344..beff3aa 100644
--- a/.github/workflows/flatpak.yml
+++ b/.github/workflows/flatpak.yml
@@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- - uses: flatpak/flatpak-github-actions/flatpak-builder@v6
+ - uses: flatpak/flatpak-github-actions/flatpak-builder@79327416609af08178ad73b352877e51450790b3 # v6.8
with:
bundle: skykeep.flatpak
manifest-path: packaging/flatpak/io.github.yashwanthkamireddi.Skykeep.yml
diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml
index b9157a1..fce50d0 100644
--- a/.github/workflows/snap.yml
+++ b/.github/workflows/snap.yml
@@ -35,7 +35,7 @@ jobs:
mv snap/local/Skykeep_*_amd64.deb snap/local/skykeep.deb
version=${TAG#v}
sed -i "s/^version: .*/version: '$version'/" snap/snapcraft.yaml
- - uses: snapcore/action-build@v1
+ - uses: snapcore/action-build@3bdaa03e1ba6bf59a65f84a751d943d549a54e79 # v1.3.0
id: build
- name: It installs and starts
run: |
@@ -70,7 +70,7 @@ jobs:
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: skykeep-snap
- - uses: snapcore/action-publish@v1
+ - uses: snapcore/action-publish@214b86e5ca036ead1668c79afb81e550e6c54d40 # v1.2.0
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
with:
diff --git a/check.sh b/check.sh
index 2969e12..166dc99 100755
--- a/check.sh
+++ b/check.sh
@@ -22,6 +22,9 @@ step "typescript" npx tsc --noEmit
step "calendar layout" node --test .uiverify/calendar-model.test.mjs
step "notes layout" node --test .uiverify/notes-model.test.mjs
step "notes editor model" node --test .uiverify/notes-rich.test.mjs
+# Every model test, the way CI's "Model tests" runs them, so a test file this list doesn't name
+# can't pass here and fail there.
+step "model tests (all)" bash -c 'node --test .uiverify/*.test.mjs'
step "frontend build" npm run build
# The browser checks need the built bundle served.