Add pre-commit formatter #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "npm" | |
# See also https://github.com/flatpak/flatpak-github-actions | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: flatpak gettext # FIXME use flatpak sdk for msgfmt tests | |
version: 1.0 | |
- name: Cache Flatpak dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.local/share/flatpak | |
key: 45beta | |
- run: make ci |