diff options
| author | 2021-01-24 15:22:31 +0100 | |
|---|---|---|
| committer | 2021-02-27 17:32:51 +0100 | |
| commit | 05279088e1a754fbb8d92a8bc2681d5e0367698a (patch) | |
| tree | afb842c41fce084ffd5b5baf0f85ba61fa1d118b /.github/workflows | |
| parent | Merge pull request #6 from vrischmann/diagnostics (diff) | |
| download | zig-sqlite-05279088e1a754fbb8d92a8bc2681d5e0367698a.tar.gz zig-sqlite-05279088e1a754fbb8d92a8bc2681d5e0367698a.tar.xz zig-sqlite-05279088e1a754fbb8d92a8bc2681d5e0367698a.zip | |
ci: add a lint GitHub step
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/main.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25e89bb..55a57c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml | |||
| @@ -10,6 +10,15 @@ on: | |||
| 10 | workflow_dispatch: | 10 | workflow_dispatch: |
| 11 | 11 | ||
| 12 | jobs: | 12 | jobs: |
| 13 | lint: | ||
| 14 | runs-on: ubuntu-latest | ||
| 15 | steps: | ||
| 16 | - uses: actions/checkout@v2 | ||
| 17 | - uses: goto-bus-stop/setup-zig@v1 | ||
| 18 | with: | ||
| 19 | version: master | ||
| 20 | - run: zig fmt --check *.zig | ||
| 21 | |||
| 13 | build: | 22 | build: |
| 14 | strategy: | 23 | strategy: |
| 15 | matrix: | 24 | matrix: |