-
-
Notifications
You must be signed in to change notification settings - Fork 6
35 lines (29 loc) · 835 Bytes
/
main.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
name: CI
on: [pull_request]
jobs:
flatpak:
name: Flatpak
runs-on: ubuntu-latest
container:
image: ghcr.io/elementary/flatpak-platform/runtime:daily
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
with:
bundle: harvey.flatpak
manifest-path: io.github.danirabbit.harvey.yml
run-tests: true
repository-name: appcenter
repository-url: https://flatpak.elementary.io/repo.flatpakrepo
cache-key: "flatpak-builder-${{ github.sha }}"
lint:
runs-on: ubuntu-latest
container:
image: valalang/lint
steps:
- uses: actions/checkout@v2
- name: Lint
run: io.elementary.vala-lint -d .