Skip to content

Commit

Permalink
clean up ci (#35)
Browse files Browse the repository at this point in the history
* clean up ci

* Update ci.yml
  • Loading branch information
mmorel-35 authored Nov 20, 2024
1 parent 7f3ce4e commit 33099e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ jobs:
git diff --exit-code go.mod
git diff --exit-code go.sum
- name: Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
- name: Run golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
uses: golangci/golangci-lint-action@v6
with:
args: --verbose
version: ${{ env.GOLANGCI_LINT_VERSION }}

- name: Make
run: |
make
git diff --exit-code
- run: make test

- run: make install
3 changes: 3 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
linters:
enable:
- gofmt

0 comments on commit 33099e0

Please sign in to comment.