ci.yml (862B)
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@v2 14 - uses: actions-rs/toolchain@v1 15 with: 16 profile: minimal 17 toolchain: stable 18 override: true 19 components: rustfmt 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-43 28 options: --privileged 29 steps: 30 - uses: actions/checkout@v2 31 - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 32 with: 33 bundle: email-client.flatpak 34 manifest-path: build-aux/de.nordgedanken.Email.Devel.yaml 35 run-tests: true 36 cache-key: flatpak-builder-${{ github.sha }} 37