Skip to content

Commit

Permalink
update modules + use go 1.22 + fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDen committed May 5, 2024
1 parent 143fb5b commit 59ffc88
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 28 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,6 @@ name: CI
on: push

jobs:
misspell:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- name: Check out code.
uses: actions/checkout@v3
- name: misspell
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
locale: "US"
exclude: |
./.git/*
./.vendor/*
build:
name: runner / Go package
runs-on: macos-latest
Expand All @@ -27,7 +12,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.22"

- name: build
run: go build
Expand Down
2 changes: 1 addition & 1 deletion Galvani.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>CFBundleShortVersionString</key>
<string>0.2.3</string>
<string>0.2.4</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleName</key>
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/TheDen/galvani

go 1.21
go 1.22

require (
github.com/caseymrm/menuet v1.0.2
github.com/caseymrm/menuet v1.0.3
howett.net/plist v1.0.1
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/caseymrm/askm v1.0.0 h1:Ff5QN5GwuyCzg63++hU1jV+1JVYHYd0sw6KUkVd2GiQ=
github.com/caseymrm/askm v1.0.0/go.mod h1:raj+vtH8SsGkuSg1/970qaONNyNlIb7zFv2LDVk6j+U=
github.com/caseymrm/menuet v1.0.2 h1:gKacgAxxSr7BTsTlCihxCzJaZGPyKd9o3T49tUTc6Lg=
github.com/caseymrm/menuet v1.0.2/go.mod h1:Vdn4A7NdnGnx9CwlhyhAn4ii5xrpQkvaONdzpTyJ4j0=
github.com/caseymrm/menuet v1.0.3 h1:+JC25L0mxE9a5RUtY88JNZV0awQSbObw/kqKbBWYMTs=
github.com/caseymrm/menuet v1.0.3/go.mod h1:Vdn4A7NdnGnx9CwlhyhAn4ii5xrpQkvaONdzpTyJ4j0=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0/go.mod h1:WDnlLJ4WF5VGsH/HVa3CI79GS0ol3YnhVnKP89i0kNg=
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

const (
appVersion = "0.2.3"
appVersion = "0.2.4"
boltIconOutline = "bolt.png"
boltIconFilled = "bolt-filled.png"
ALWAYS BatteryState = iota
Expand Down Expand Up @@ -85,7 +85,7 @@ func setLowPowerMode(str string) error {
"/usr/bin/osascript",
"-e",
fmt.Sprintf(
"do shell script \"%s\" with prompt \"Galvani is trying to update battery prefrences\" with administrator privileges",
"do shell script \"%s\" with prompt \"Galvani is trying to update battery preferences\" with administrator privileges",
str,
),
)
Expand Down
7 changes: 7 additions & 0 deletions vendor/github.com/caseymrm/menuet/EditableNSTextField.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions vendor/github.com/caseymrm/menuet/EditableNSTextField.m

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions vendor/github.com/caseymrm/menuet/alert.m

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# github.com/caseymrm/askm v1.0.0
## explicit
github.com/caseymrm/askm
# github.com/caseymrm/menuet v1.0.2
# github.com/caseymrm/menuet v1.0.3
## explicit; go 1.13
github.com/caseymrm/menuet
# howett.net/plist v1.0.1
Expand Down

0 comments on commit 59ffc88

Please sign in to comment.