From 1d8ad1b6a3ad5871bbd851c06f84c01c11247805 Mon Sep 17 00:00:00 2001 From: Alan Pope Date: Mon, 22 Jul 2024 19:42:00 +0100 Subject: [PATCH] chore: Add action to test build the snap Consistent with my other snaps. --- .github/workflows/test-snap-can-build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test-snap-can-build.yml diff --git a/.github/workflows/test-snap-can-build.yml b/.github/workflows/test-snap-can-build.yml new file mode 100644 index 0000000..d5a7563 --- /dev/null +++ b/.github/workflows/test-snap-can-build.yml @@ -0,0 +1,22 @@ +name: 🧪 Test snap can be built on x86_64 + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - uses: snapcore/action-build@v1 + id: build + + - uses: diddlesnaps/snapcraft-review-action@v1 + with: + snap: ${{ steps.build.outputs.snap }} + isClassic: 'false'