Merge pull request #65 from kartoza/release/v0.2.0 #121
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
| # SPDX-FileCopyrightText: Tim Sutton | |
| # SPDX-License-Identifier: MIT | |
| name: 👨🏽 SQL Checks | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main, master] | |
| jobs: | |
| sqlfluff-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: DeterminateSystems/nix-installer-action@v22 | |
| - run: nix develop .#minimal --command sqlfluff lint sql/ | |
| sqlfluff-fix: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: DeterminateSystems/nix-installer-action@v22 | |
| - run: nix develop .#minimal --command sqlfluff fix --check sql/ |