Skip to content

Commit 3e99228

Browse files
authored
[KLC-1664] Update tests workflow (#18)
1 parent 3e760ba commit 3e99228

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/pr-tests.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@ jobs:
1111
name: Unit & Integration
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Set up Go 1.x
15-
uses: actions/setup-go@v3
16-
with:
17-
go-version: 1.20.7
18-
id: go
19-
2014
- name: Check out code
21-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
16+
17+
- name: Go Setup
18+
uses: ./.github/actions/go-setup-action
19+
with:
20+
go-version: ${{ vars.GO_VERSION }}
21+
go-private: ${{ vars.GO_PRIVATE_REPO }}
22+
git-user: ${{ secrets.GIT_USER }}
23+
git-pass: ${{ secrets.GIT_PASS }}
2224

23-
- name: Get dependencies
24-
run: |
25-
go get -v -t -d ./...
2625
- name: Unit tests
2726
run: make test

0 commit comments

Comments
 (0)