Skip to content

Commit 9d5108a

Browse files
committed
feat(actions): update build release actions
1 parent 8e8c687 commit 9d5108a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build-release.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
basic-checks:
1010
name: Basic Checks
1111
runs-on: ubuntu-latest
12+
env:
13+
GOLANGCI_LINT_VERSION: v1.61.0
1214

1315
steps:
1416
- uses: actions/checkout@v4
@@ -17,8 +19,9 @@ jobs:
1719
with:
1820
go-version: ^1.22
1921

20-
- name: Check lint
21-
run: go fmt ./...
22+
- run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}
23+
- name: Run golangci-lint
24+
run: make lint
2225

2326
- name: Run unit tests
2427
run: go test -v ./...
@@ -36,7 +39,9 @@ jobs:
3639
go-version: ^1.22
3740

3841
- name: Run Integration Tests
39-
run: cd tests && go test -v ./...
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
run: go test -v ./... -tags=integration
4045

4146
build:
4247
name: Build Go binaries

0 commit comments

Comments
 (0)