Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23.6
go-version: '1.27.1'

- name: Lint Go Code
run: |
export PATH=$PATH:$(go env GOPATH)/bin
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.13.2
make ci-lint


Expand All @@ -45,10 +45,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23.6
go-version: '1.27.1'

- name: Run Unit tests
run: make test
- name: Run all tests
run: go test -count=1 ./...

- name: Run coverage
run: go test -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /vendor/ | grep -v /api/ | grep -v /cmd/)
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23.6
go-version: '1.27.1'

- name: Build
run: make build && make build-sponge
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23.6
go-version: '1.27.1'

- name: Create release on GitHub
uses: goreleaser/goreleaser-action@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# Dependency directories (remove the comment below to include it)
vendor/
dist/
pkg/sgorm/sqlite/*.db

# idea
.idea
Expand Down
Loading
Loading