Skip to content

Commit

Permalink
fix: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Sep 15, 2023
1 parent 0c83a2b commit 4452130
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ jobs:
with:
fetch-depth: 0

- name: Cache go.mod
uses: actions/cache@v3
with:
path: |
~/Library/Caches/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test Default
run: go run main.go -V default --no-backup --yes
- name: Test Save
Expand Down
4 changes: 2 additions & 2 deletions internal/dock/dock.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type Plist struct {
PersistentApps []PAItem `plist:"persistent-apps"`
PersistentOthers []POItem `plist:"persistent-others"`
AutoHide bool `plist:"autohide"`
LargeSize any `plist:"largesize"`
LargeSize any `plist:"largesize,omitempty"`
Loc string `plist:"loc"`
Magnification bool `plist:"magnification"`
MinimizeToApplication bool `plist:"minimize-to-application"`
Expand All @@ -37,7 +37,7 @@ type Plist struct {
Region string `plist:"region"`
ShowRecents bool `plist:"show-recents"`
ShowAppExposeGestureEnabled bool `plist:"showAppExposeGestureEnabled"`
TileSize any `plist:"tilesize"`
TileSize any `plist:"tilesize,omitempty"`
TrashFull bool `plist:"trash-full"`
Version int `plist:"version"`
WvousBlCorner int `plist:"wvous-bl-corner,omitempty"`
Expand Down

0 comments on commit 4452130

Please sign in to comment.