commit 6c79438ba65ba46c7026cd47eb43dc34576554a9 parent 86dec75ff125d2bf8b0f44682731877e5acbe371 Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 19 Feb 2023 17:53:43 +0100 Add CI Diffstat:
| A | .github/workflows/ci.yml | | | 36 | ++++++++++++++++++++++++++++++++++++ |
1 file changed, 36 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -0,0 +1,36 @@ +on: + push: + branches: [main] + pull_request: + +name: CI + +jobs: + rustfmt: + name: Rustfmt + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: rustfmt + - name: Run cargo fmt + run: cargo fmt --all -- --check + + flatpak: + name: Flatpak + runs-on: ubuntu-latest + container: + image: bilelmoussaoui/flatpak-github-actions:gnome-43 + options: --privileged + steps: + - uses: actions/checkout@v2 + - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 + with: + bundle: email-client.flatpak + manifest-path: build-aux/de.nordgedanken.Email.Devel.yaml + cache-key: flatpak-builder-${{ github.sha }} +