-
-
Notifications
You must be signed in to change notification settings - Fork 628
37 lines (31 loc) · 862 Bytes
/
generic_validations.yml
File metadata and controls
37 lines (31 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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