Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| eba741cd97 | |||
| fd9da1fd71 | |||
| d46bc11485 | |||
| f1fa0acfa7 | |||
| a5c1ea1c1b | |||
| 4dbc0bd9f3 | |||
| 94059ee9e6 | |||
| 06d8876b04 | |||
| 90b3baa2fb | |||
| 71224721d3 | |||
| 56f44f5b95 | |||
| 08ac26c698 | |||
| ac0755977c | |||
| c1490421ba | |||
| 2d366c4619 | |||
| dad057528c | |||
| 8ae9149620 | |||
| 9d6c2abb9f |
@@ -22,21 +22,7 @@ jobs:
|
|||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.26'
|
go-version: '1.26'
|
||||||
|
cache: true
|
||||||
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
|
||||||
id: hash-go
|
|
||||||
with:
|
|
||||||
patterns: |
|
|
||||||
apps/device-agent/go.mod
|
|
||||||
apps/device-agent/go.sum
|
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
/root/go/pkg/mod
|
|
||||||
/root/.cache/go-build
|
|
||||||
key: go-device-agent-${{ steps.hash-go.outputs.hash }}
|
|
||||||
restore-keys: go-device-agent-
|
|
||||||
|
|
||||||
- name: Build all platforms
|
- name: Build all platforms
|
||||||
working-directory: apps/device-agent
|
working-directory: apps/device-agent
|
||||||
|
|||||||
@@ -22,25 +22,7 @@ jobs:
|
|||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.26'
|
go-version: '1.26'
|
||||||
|
cache: true
|
||||||
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
|
||||||
id: hash-go
|
|
||||||
with:
|
|
||||||
patterns: |
|
|
||||||
apps/server-core/go.mod
|
|
||||||
apps/server-core/go.sum
|
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
/root/go/pkg/mod
|
|
||||||
/root/.cache/go-build
|
|
||||||
key: go-server-core-${{ steps.hash-go.outputs.hash }}
|
|
||||||
restore-keys: go-server-core-
|
|
||||||
|
|
||||||
- name: Download Go modules
|
|
||||||
working-directory: apps/server-core
|
|
||||||
run: go mod download
|
|
||||||
|
|
||||||
- name: Generate Swagger docs
|
- name: Generate Swagger docs
|
||||||
working-directory: apps/server-core
|
working-directory: apps/server-core
|
||||||
|
|||||||
+1
-1
Submodule apps/dashboard-ui updated: 97d91fdc0d...dc20427f97
+1
-1
Submodule apps/device-agent updated: f0d0c50487...e64fd34904
+1
-1
Submodule apps/server-core updated: 376c9b8456...19e804ca45
Reference in New Issue
Block a user