Generic safety cleanup (#22)
* create checksum system for versioning * minor changes to CI * dart ffi cleanup * update checksums
This commit is contained in:
4
.github/workflows/cake_wallet.yaml
vendored
4
.github/workflows/cake_wallet.yaml
vendored
@@ -1,7 +1,5 @@
|
||||
name: Build cake_wallet for android
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize]
|
||||
on: [push]
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
37
.github/workflows/checksum.yaml
vendored
Normal file
37
.github/workflows/checksum.yaml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Check if checksums are in sync
|
||||
on: [push]
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
jobs:
|
||||
android:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: recursive
|
||||
- uses: 8BitJonny/gh-get-current-pr@3.0.0
|
||||
id: PR
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
- name: generate checksums
|
||||
run: |
|
||||
./generate_checksum.sh
|
||||
- name: check if git tree is clean
|
||||
run: |
|
||||
if [ -z "$(git status --porcelain)" ]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
- name: Create or update comment
|
||||
continue-on-error: true
|
||||
if: failure()
|
||||
uses: peter-evans/create-or-update-comment@v4
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
body: |
|
||||
Invalid checksums, please run `./generate_checksum.sh`
|
||||
|
||||
5
.github/workflows/dart_bindings.yaml
vendored
5
.github/workflows/dart_bindings.yaml
vendored
@@ -1,7 +1,5 @@
|
||||
name: Check if dart bindings are in sync
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize]
|
||||
on: [push]
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
@@ -30,6 +28,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
- name: Create or update comment
|
||||
continue-on-error: true
|
||||
if: failure()
|
||||
uses: peter-evans/create-or-update-comment@v4
|
||||
with:
|
||||
|
||||
10
.github/workflows/xmruw.yaml
vendored
10
.github/workflows/xmruw.yaml
vendored
@@ -1,11 +1,5 @@
|
||||
name: Build
|
||||
|
||||
|
||||
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize]
|
||||
name: Build xmruw
|
||||
on: [push]
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
Reference in New Issue
Block a user