Skip to content

Commit

Permalink
fix: format check stage in the CI (#2737)
Browse files Browse the repository at this point in the history
  • Loading branch information
kelkarajay committed Sep 16, 2022
1 parent 20fdfe8 commit bbe4463
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
uses: sonatype-nexus-community/nancy-github-action@v1.0.2
- run: npm install
name: Install node deps
- name: Run prettier
run: npm run format:check
- run: make format && git diff HEAD --exit-code --color
name: Check formatting issues
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
env:
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
TEST_DATABASE_COCKROACHDB: 'cockroach://root@localhost:26257/defaultdb?sslmode=disable'
strategy:
matrix:
database: ['postgres', 'cockroach', 'sqlite', 'mysql']
database: [ 'postgres', 'cockroach', 'sqlite', 'mysql' ]
steps:
- run: |
docker create --name cockroach -p 26257:26257 \
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/format.yml

This file was deleted.

3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bbe4463

Please sign in to comment.