Skip to content

Enable clippy in flatpak #214

Enable clippy in flatpak

Enable clippy in flatpak #214

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-45
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
# - name: Build
# uses: flatpak/flatpak-github-actions/flatpak-builder@v6
# with:
# bundle: com.github.matzipan.envoyer.flatpak
# manifest-path: ./build-aux/flatpak.yml
# cache-key: flatpak-builder-${{ github.ref }}
- name: Run rust-clippy
uses: matzipan/flatpak-github-actions/flatpak-builder@d1855cc06d0b0d883fbb031262a88a1678c69006
with:
run-command: >
bash -c "cargo clippy --all-features --message-format=json |
tee rust-clippy-results.json"
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: rust-clippy-results.sarif
wait-for-processing: true
# - name: Run tests
# working-directory: envoyer
# run: cargo test --verbose