Skip to content

Commit

Permalink
πŸ’š (repo) [NO-ISSUE]: Trigger PR tests after toolchain update (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
valpinkman authored Oct 17, 2024
2 parents 2dc71cf + 23e2a9d commit a692c5f
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/update_toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
update-toolchain:
runs-on: ubuntu-latest
runs-on: ["ledgerhq-device-sdk"]
steps:
- uses: actions/checkout@v4

Expand All @@ -31,8 +31,24 @@ jobs:
run: |
echo "status=$(git status --porcelain | wc -l)" >> $GITHUB_OUTPUT
- name: Create PR
- name: Set new versions
if: steps.changes.outputs.status > 0
run: |
proto use
pnpm i
- name: Health check
if: steps.changes.outputs.status > 0
id: health-check
run: pnpm health-check

- name: Tests
id: unit-tests
if: steps.changes.outputs.status > 0 && success()
run: pnpm test:coverage -- --max-warnings=0

- name: Create PR
if: steps.changes.outputs.status > 0 && success()
run: |
git add .prototools
git commit -m "πŸ”§ (repo) [NO-ISSUE]: Update toolchain"
Expand Down

0 comments on commit a692c5f

Please sign in to comment.