mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-26 22:42:50 -05:00
30 lines
760 B
YAML
30 lines
760 B
YAML
name: Pre-commit Checks
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
branches: [master, main]
|
|
jobs:
|
|
pre-commit-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install flatpak
|
|
run: sudo apt update && sudo apt install -y flatpak
|
|
|
|
- name: Add flathub
|
|
run: sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
|
|
|
- name: Add a flatpak that mutagen could support
|
|
run: sudo flatpak install -y org.freedesktop.Platform/x86_64/24.08 app.zen_browser.zen
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: core/go.mod
|
|
|
|
- name: run pre-commit hooks
|
|
uses: j178/prek-action@v1
|