Github: run devenv checks #6
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: "Devenv" | |
on: | |
push: | |
jobs: | |
pre-commit-hooks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v29 | |
- name: Install devenv.sh | |
run: nix profile install nixpkgs#devenv | |
- name: Devenv info (needed until release of next version) | |
run: devenv info | |
- name: Run a multi-line command in the devenv shell | |
shell: devenv shell bash -e {0} | |
run: | | |
devenv tasks run devenv:pre-commit:install | |
devenv tasks run devenv:pre-commit:run | |
devenv test |