Skip to content

Commit 8cf6b40

Browse files
committed
build: set up golang (smoketest)
1 parent c6b05d4 commit 8cf6b40

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/smoketest.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,9 @@ jobs:
6969
CI_USER: ${{ vars.JETKVM_CI_USER }}
7070
CI_HOST: ${{ vars.JETKVM_CI_HOST }}
7171
CI_SSH_PRIVATE: ${{ secrets.JETKVM_CI_SSH_PRIVATE }}
72-
- name: Checkout Makefile
73-
uses: actions/checkout@v4
74-
with:
75-
sparse-checkout: |
76-
Makefile
77-
resource/dev_test.sh
78-
bin/.gitkeep
7972
- name: Run tests
8073
run: |
8174
set -e
82-
make build_dev_test
83-
8475
echo "+ Copying device-tests.tar.gz to remote host"
8576
ssh jkci "cat > /tmp/device-tests.tar.gz" < device-tests.tar.gz
8677
echo "+ Running go tests"
@@ -112,6 +103,10 @@ jobs:
112103
rm -rf ${TMP_DIR} /tmp/device-tests.tar.gz
113104
EOF
114105
ssh jkci "cat /tmp/device-tests.json" > device-tests.json
106+
- name: Set up Golang
107+
uses: actions/setup-go@v4
108+
with:
109+
go-version: "1.24.0"
115110
- name: Golang Test Report
116111
uses: becheran/[email protected]
117112
with:

0 commit comments

Comments
 (0)