Skip to content

WIP: Whatever I did ages ago #126

WIP: Whatever I did ages ago

WIP: Whatever I did ages ago #126

Workflow file for this run

name: CI
on: [pull_request, push]
jobs:
pre_job:
# continue-on-error: true # Uncomment once integration is finished
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
concurrent_skipping: 'same_content_newer'
flatpak:
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
name: Flatpak
runs-on: ubuntu-latest
container:
image: elementary/docker:next-unstable
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
with:
bundle: Mixer.flatpak
manifest-path: com.github.childishgiant.mixer.yml
run-tests: true
repository-name: appcenter
repository-url: https://flatpak.elementary.io/repo.flatpakrepo
cache-key: "flatpak-builder-${{ github.sha }}"
lint:
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
name: Lint
runs-on: ubuntu-latest
container:
image: valalang/lint
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Lint
run: io.elementary.vala-lint -d ./src/