mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
More workflow improvements
This commit is contained in:
@@ -108,7 +108,17 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
go-version: ${{ matrix.go }}
|
||||
|
||||
- name: Setup Golang caches
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cache/go-build
|
||||
~/go/pkg/mod
|
||||
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-golang-
|
||||
|
||||
- name: Build Wails3 CLI
|
||||
run: |
|
||||
|
||||
@@ -134,8 +134,6 @@ tasks:
|
||||
|
||||
test:example:
|
||||
dir: 'examples/{{.DIR}}'
|
||||
sources:
|
||||
- 'examples/{{.DIR}}/**/*.go'
|
||||
cmds:
|
||||
- echo "Building example {{.DIR}}"
|
||||
- go mod tidy
|
||||
|
||||
Reference in New Issue
Block a user