mirror of
https://github.com/httpie/cli.git
synced 2024-11-07 16:34:35 +01:00
[snap] Remove personal-files interface
Use of the `personal-files` interface is reserved for vetted publishers. The interface requires a validation, but we need to publish at least one package first. So let's skip that part, release a version and ask for the interface access in a second time. Also add a workflow to build & test the snap package.
This commit is contained in:
parent
a45b94fda6
commit
b38352858f
25
.github/workflows/packaging-linux-snap.yml
vendored
Normal file
25
.github/workflows/packaging-linux-snap.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
@ -1,19 +1,19 @@
|
||||
name: Check Brew Formula
|
||||
name: Mac brew
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/packaging-mac-check-formula.yml
|
||||
- .github/workflows/packaging-mac-brew.yml
|
||||
- extras/httpie.rb
|
||||
|
||||
jobs:
|
||||
check-formula:
|
||||
brew:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Brew
|
||||
- name: Setup brew
|
||||
run: |
|
||||
brew developer on
|
||||
brew update
|
||||
- name: Build and test the Formula
|
||||
- name: Build and test the formula
|
||||
run: make brew-test
|
@ -93,7 +93,7 @@ apps:
|
||||
http:
|
||||
command: bin/http
|
||||
plugs: &plugs
|
||||
- dot-config-httpie
|
||||
# - dot-config-httpie
|
||||
- home
|
||||
- network
|
||||
- removable-media
|
||||
|
Loading…
Reference in New Issue
Block a user