Skip to content

Commit 92529c5

Browse files
committed
Refactor integration workflow: streamline Go setup and remove unnecessary build steps
1 parent 5614b04 commit 92529c5

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/integration.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,11 @@ jobs:
2424
GONOSUMDB: github.com/github/*
2525
steps:
2626
- uses: actions/checkout@v4
27-
28-
- uses: actions/setup-go@v5
27+
- name: Setup Go
28+
uses: actions/setup-go@v5
2929
with:
30-
go-version: ">=1.22"
31-
check-latest: true
32-
33-
- name: Build gh-models binary
34-
run: make build
35-
30+
go-version-file: 'go.mod'
3631
- name: Run integration tests
37-
working-directory: integration
38-
run: |
39-
go mod tidy
40-
go test -v -timeout=5m
32+
run: make integration
4133
env:
4234
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)