mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 18:53:21 +01:00
26 lines
630 B
YAML
26 lines
630 B
YAML
|
name: Linux snap
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
paths:
|
||
|
- .github/workflows/packaging-linux-snap.yml
|
||
|
- snapcraft.yaml
|
||
|
|
||
|
jobs:
|
||
|
snap:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Build
|
||
|
uses: snapcore/action-build@v1
|
||
|
id: snapcraft
|
||
|
- name: Install
|
||
|
run: sudo snap install --dangerous ${{ steps.snapcraft.outputs.snap }}
|
||
|
- name: Test
|
||
|
run: |
|
||
|
httpie.http --version
|
||
|
httpie.https --version
|
||
|
# Auto-aliases cannot be tested when installing a snap outside the store.
|
||
|
# http --version
|
||
|
# https --version
|