Skip to content

Commit

Permalink
Refactoring (#8)
Browse files Browse the repository at this point in the history
* fix: README updated

* fix: updated README

* fix: indentation issue in README

* golangci-lint step added

* fix: golanglint-ci enable all commented

* codecov token added back
  • Loading branch information
r-goswami authored Jun 6, 2023
1 parent e561bfe commit 77d3268
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,27 @@ jobs:
with:
go-version: 1.19

- name: Run go vet
run: go vet ./...
# - name: Run go vet
# run: go vet ./...

- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
# - name: Install staticcheck
# run: go install honnef.co/go/tools/cmd/staticcheck@latest

- name: Run staticcheck
run: staticcheck ./...
# - name: Run staticcheck
# run: staticcheck ./...

- name: Install golint
run: go install golang.org/x/lint/golint@latest
# - name: Install golint
# run: go install golang.org/x/lint/golint@latest

- name: Run golint
run: golint -set_exit_status ./...
# - name: Run golint
# run: golint -set_exit_status ./...

- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.48.0
skip-cache: true
# args: --enable-all

test:
name: Test
Expand All @@ -56,6 +63,7 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true

Expand Down

0 comments on commit 77d3268

Please sign in to comment.