-
Notifications
You must be signed in to change notification settings - Fork 4
45 lines (36 loc) · 1 KB
/
build.yml
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
38
39
40
41
42
43
44
45
name: Build
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Run pre-commit hooks
uses: pre-commit/[email protected]
flatpak:
name: Flatpak
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Flatpak bundle
uses: flatpak/flatpak-github-actions/[email protected]
with:
bundle: org.endlessos.Key.Devel.flatpak
manifest-path: build-aux/flatpak/org.endlessos.Key.Devel.json
cache: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
cache-key: endless-key-${{ github.sha }}