build: improve pre commit messages #20
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: main | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| lin_check: | |
| strategy: | |
| fail-fast: false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Node 22 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install dependencies | |
| run: | | |
| sudo mkdir -p $HOME | |
| sudo mkdir -p $HOME/.local/bin | |
| sudo chown runner -R $HOME | |
| sudo apt install -y curl git-lfs | |
| - name: lint and test | |
| run: | | |
| export CONTAINER="container" | |
| make dev | |
| make runChecks |