#3702 preview: update md4c for malformed underline handling and CI fixes #1798
This file contains hidden or 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: 📄 Check formatting | |
| on: | |
| push: | |
| branches-ignore: | |
| - release | |
| tags-ignore: | |
| - "*" | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| format-check: | |
| name: 📄 Check code formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 🧰 Checkout code | |
| uses: actions/checkout@v7 | |
| - name: ⚙️ Install Nix | |
| uses: cachix/install-nix-action@v31 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: 🔒 Cache dependencies | |
| uses: cachix/cachix-action@v17 | |
| with: | |
| # https://app.cachix.org/cache/qownnotes-devenv | |
| name: qownnotes-devenv | |
| authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
| - name: 🔧 Install devenv.sh | |
| run: nix profile add nixpkgs#devenv | |
| - name: 🔨 Build the devenv shell and run formating check | |
| run: devenv shell "just format" |