Skip to content

Commit

Permalink
temp test
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed Feb 26, 2024
1 parent 0d7c46c commit 089602d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/go_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:

lint:
Lint:
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.20
Expand All @@ -19,19 +19,4 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Tidy
run: go mod tidy && [ -z "$(git status -s)" ]

- name: debug
run: go env

- name: Lint
run: |
go install github.com/golangci/golangci-lint/cmd/[email protected]
${GOBIN}/golangci-lint run
- name: Vet
run: make vet
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ coverage: tidy

# target to run all the possible checks; it's a good habit to run it before
# pushing code
check: lint vet test
echo "check done"
#check: lint vet test
# echo "check done"

0 comments on commit 089602d

Please sign in to comment.