Skip to content

Merge pull request #26 from luleyleo/fix-ci #62

Merge pull request #26 from luleyleo/fix-ci

Merge pull request #26 from luleyleo/fix-ci #62

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
CI:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Install host dependencies
run: |
sudo apt-get update
sudo apt-get install flatpak flatpak-builder just
# Restore caches
- name: Restore Flatpak dependencies
uses: actions/cache/restore@v3
with:
path: ~/.local/share/flatpak
key: ${{ runner.os }}-flatpak-dependencies
- name: Restore .flatpak-builder
uses: actions/cache/restore@v3
with:
path: .flatpak-builder
key: ${{ runner.os }}-flatpak-builder
- run: just ci
- run: rm -rf .flatpak-builder/build
# Save caches
- name: Save Flatpak dependencies
uses: actions/cache/save@v3
if: always()
with:
path: ~/.local/share/flatpak
key: ${{ runner.os }}-flatpak-dependencies
- name: Save .flatpak-builder
uses: actions/cache/save@v3
if: always()
with:
path: .flatpak-builder
key: ${{ runner.os }}-flatpak-builder