heic2jpg

git clone git://archive.git.mtrnord.blog/MTRNord/heic2jpg.git
Log | Files | Refs | README | LICENSE

ci.yml (918B)


      1 on:
      2   push:
      3     branches: [main]
      4   pull_request:
      5 
      6 name: CI
      7 
      8 jobs:
      9   rustfmt:
     10     name: Rustfmt
     11     runs-on: ubuntu-latest
     12     steps:
     13       - uses: actions/checkout@v4
     14       - uses: dtolnay/rust-toolchain@stable
     15         with:
     16           toolchain: stable
     17           components: rustfmt
     18       - name: Create blank versions of configured file
     19         run: echo -e "" >> src/config.rs
     20       - name: Run cargo fmt
     21         run: cargo fmt --all -- --check
     22 
     23   flatpak:
     24     name: Flatpak
     25     runs-on: ubuntu-latest
     26     container:
     27       image: bilelmoussaoui/flatpak-github-actions:gnome-46
     28       options: --privileged
     29     steps:
     30       - uses: actions/checkout@v4
     31       - uses: flatpak/flatpak-github-actions/flatpak-builder@v6
     32         with:
     33           bundle: heic2jpg.flatpak
     34           manifest-path: build-aux/dev.nordgedanken.heic2jpg.Devel.json
     35           run-tests: true
     36           cache-key: flatpak-builder-${{ github.sha }}