fix(deps): update github.com/snapcore/snapd digest to 060a4dc - autoclosed #427
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Snap | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build-snap: | |
name: Snap building | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Build the snap | |
uses: snapcore/[email protected] | |
- name: Uploading snap artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: snap-files | |
path: "*.snap" | |
test-snap: | |
runs-on: ubuntu-latest | |
needs: build-snap | |
steps: | |
- name: Download built snap | |
uses: actions/download-artifact@v2 | |
with: | |
name: snap-files | |
- name: Install built snap | |
shell: bash | |
run: sudo snap install --classic --dangerous etrace*.snap | |
- name: Verify snap runs | |
shell: bash | |
run: | | |
# TODO: write actual tests here | |
etrace --help || true |