name: PR Checks on: pull_request: types: [opened, synchronize, reopened] jobs: lint: runs-on: ubuntu-latest container: image: swift:6.3 steps: - name: Install Node.js run: apt-get update -qq && apt-get install -y -qq nodejs - uses: actions/checkout@v4 - name: Lint run: swift format lint --recursive Sources/ flatpak-build: runs-on: ubuntu-latest container: image: ghcr.io/flathub/flatpak-builder-lint:latest options: --privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined steps: - uses: actions/checkout@v4 - name: Add Flathub remote run: | flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - uses: https://github.com/flatpak/flatpak-github-actions/flatpak-builder@v6.7 with: manifest-path: dev.bscubed.Luminate.json bundle: Luminate.flatpak upload-artifact: false keep-build-dirs: true