Skip to content

Commit

Permalink
chore(firmware): add firmware_revisions to releases.json & added scri…
Browse files Browse the repository at this point in the history
…pt for checking correct revisions

fix: correct revision hashes for T2T1

Add script to validate revision hashes

fix revision for 2.4.0
  • Loading branch information
MiroslavProchazka authored and peter-sanderson committed Aug 6, 2024
1 parent bad9a3c commit 7be70f9
Show file tree
Hide file tree
Showing 6 changed files with 239 additions and 5 deletions.
34 changes: 29 additions & 5 deletions .github/workflows/check_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,32 @@ jobs:
check_releases:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: "true"
- uses: actions/setup-python@v4
- run: python check_releases.py
- uses: actions/checkout@v3
with:
lfs: "true"
- uses: actions/setup-python@v4
- run: python check_releases.py

releases-revision-checks:
name: Releases revision Checks
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Check releases.json files changes
uses: dorny/paths-filter@v3
id: changes
with:
filters: |
releases-json:
- 'firmware/t1b1/releases.json'
- 'firmware/1/releases.json'
- 'firmware/t2t1/releases.json'
- 'firmware/2/releases.json'
if: steps.changes.outputs.releases-json == 'true'
- name: Check releases.json revisions
run: |
./scripts/check-firmware-revisions.sh t1b1 \
&& ./scripts/check-firmware-revisions.sh 1 \
&& ./scripts/check-firmware-revisions.sh t2t1 \
&& ./scripts/check-firmware-revisions.sh 2
Loading

0 comments on commit 7be70f9

Please sign in to comment.