noteapicontroller: migrated use of Nextcloud API to Nextcloud 29+ sta… #16
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 with "just format-all" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 🧰 Checkout code | |
| uses: actions/checkout@v5 | |
| - name: ⚙️ Install Nix | |
| uses: cachix/install-nix-action@v31 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: 🔒 Cache dependencies | |
| uses: cachix/cachix-action@v16 | |
| with: | |
| name: devenv | |
| - name: 🔧 Install devenv.sh | |
| run: nix profile install nixpkgs#devenv | |
| - name: 🌳 Format code | |
| run: devenv shell "composer install && just format" |