fix: imports overriding base project's inputs instead of base taking … #535
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: "Auto format" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: cachix/install-nix-action@v31 | |
| with: | |
| extra_nix_config: | | |
| access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
| - uses: cachix/cachix-action@v17 | |
| with: | |
| name: devenv | |
| - name: Install devenv | |
| # TODO(sander): go back to latest once 2.0.3 is released | |
| run: nix profile add github:cachix/devenv/v1.11.2 -L --accept-flake-config | |
| - name: Run formatters | |
| run: devenv shell -- prek run -a || true | |
| - uses: EndBug/add-and-commit@v9 | |
| with: | |
| default_author: github_actions | |
| add: "." | |
| message: "Auto format code" |