From fdcccd04b620ffdf9562a1c5dcae701d6853c75f Mon Sep 17 00:00:00 2001 From: Dmitry Kann Date: Wed, 4 Oct 2023 08:53:15 +0200 Subject: [PATCH] ci: snap: optimise gotk3 dependencies --- .github/workflows/go.yml | 4 ++-- snap/snapcraft.yaml | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fba012d..c5c2f9b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,7 +9,7 @@ on: jobs: - test: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -32,7 +32,7 @@ jobs: - name: Verify format run: test `gofmt -l . | wc -l` = 0 - - name: Test + - name: Unit test run: | export DISPLAY=:99.0 sudo /usr/bin/Xvfb $DISPLAY &>/dev/null & diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index a0a07d9..8f4b271 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -32,13 +32,7 @@ parts: - git - gcc - gettext - # gotk3 deps - - libgtk-3-0 - - libgraphite2-3 - - libpixman-1-0 - - libpango-1.0-0 - - libx11-xcb1 - - libcairo2 + - libgtk-3-dev # gotk3 dependency override-pull: | snapcraftctl pull