Skip to content

Commit

Permalink
Merge pull request #2 from cassidyjames/actions
Browse files Browse the repository at this point in the history
Workflows: Add Flatpak and Lint actions
  • Loading branch information
cassidyjames authored Jan 5, 2024
2 parents 4f1cf55 + 0603c1d commit 786900c
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Flatpak
on:
push:
branches:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-45
options: --privileged
steps:
- uses: actions/checkout@v4
- uses: flatpak/flatpak-github-actions/[email protected]
with:
bundle: butler.flatpak
manifest-path: com.cassidyjames.butler.json
cache-key: "flatpak-builder-${{ github.sha }}"
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint
on:
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
lint:
name: Vala Lint
runs-on: ubuntu-latest

container:
image: valalang/lint

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Lint
run: io.elementary.vala-lint -d .

0 comments on commit 786900c

Please sign in to comment.