mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-01 05:24:19 +01:00
Add github action to test that the snap package was generated correctly, this CI don't test the snap, it just build it. fixes #838 Signed-off-by: Julio Montes <julio.montes@intel.com>
16 lines
311 B
YAML
16 lines
311 B
YAML
name: snap CI
|
|
on: ["pull_request"]
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Snapcraft
|
|
uses: samuelmeuli/action-snapcraft@v1
|
|
|
|
- name: Build snap
|
|
run: |
|
|
snapcraft -d snap --destructive-mode
|