mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
actions: added resources validations
This commit is contained in:
parent
8241811478
commit
9578f62e38
1 changed files with 37 additions and 0 deletions
37
.github/workflows/generic_validations.yml
vendored
Normal file
37
.github/workflows/generic_validations.yml
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
name: Test resources validation
|
||||
on:
|
||||
|
||||
# Trigger this workflow only when ebpf modules changes.
|
||||
push:
|
||||
paths:
|
||||
- 'ui/resources/*'
|
||||
- '.github/workflows/generic.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'ui/resources/*'
|
||||
- '.github/workflows/generic.yml'
|
||||
|
||||
# Allow to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Install tools
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Check out git code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Get and prepare dependencies
|
||||
run: |
|
||||
set -e
|
||||
set -x
|
||||
sudo apt install desktop-file-utils appstream
|
||||
- name: Validate resources
|
||||
run: |
|
||||
set -e
|
||||
set -x
|
||||
desktop-file-validate ui/resources/opensnitch_ui.desktop
|
||||
appstreamcli validate ui/resources/io.github.evilsocket.opensnitch.appdata.xml
|
Loading…
Add table
Reference in a new issue