Merge branch 'master' of https://github.com/alainm23/planify #372
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [master] | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
name: CI | |
jobs: | |
lint: | |
name: "Vala Lint" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: elementary/actions/vala-lint@main | |
with: | |
dir: . | |
conf: .vala-lint.conf | |
flatpak: | |
name: "Flatpak" | |
runs-on: ubuntu-latest | |
container: | |
image: bilelmoussaoui/flatpak-github-actions:gnome-46 | |
options: --privileged | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6 | |
with: | |
bundle: io.github.alainm23.planify.Devel.flatpak | |
manifest-path: build-aux/io.github.alainm23.planify.Devel.json | |
cache-key: flatpak-builder-${{ github.sha }} | |
repository-name: flathub-beta | |
repository-url: https://flathub.org/beta-repo/flathub-beta.flatpakrepo | |
snap: | |
name: "Snap" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Git repository | |
uses: actions/checkout@v4 | |
- name: Build Snap | |
uses: snapcore/action-build@v1 | |
id: snapcraft-build | |
with: | |
snapcraft-args: "--verbosity debug" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: planify_amd64_snap | |
path: ${{ steps.snapcraft-build.outputs.snap }} |