diff options
author | 2022-12-18 22:54:57 -0800 | |
---|---|---|
committer | 2022-12-18 22:54:57 -0800 | |
commit | c0f42eb71697afa1a100524d4a1787582ae3ab6c (patch) | |
tree | 77eaa2f4bc84901ddf46c019a7f15b08d9720903 /config.go | |
parent | 32fcd7b23ea54233a947fffc53773a5a2520b8dc (diff) | |
download | sally-c0f42eb71697afa1a100524d4a1787582ae3ab6c.tar.gz sally-c0f42eb71697afa1a100524d4a1787582ae3ab6c.tar.zst sally-c0f42eb71697afa1a100524d4a1787582ae3ab6c.zip |
ci: Use Go 1.19 and update GH actions (#58)
This updates sally to build and test against Go 1.19.
Additionally, this upgrades the GitHub Action versions
for checkout and setup-go.
One of the features in setup-go v3 is that caching is built-in
and opted-into with `cache: true`.
Non-CI changes: gofmt, drop ioutil
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ package main import ( "fmt" - "io/ioutil" + "os" "sort" "strings" @@ -55,7 +55,7 @@ func ensureAlphabetical(data []byte) bool { func Parse(path string) (*Config, error) { var c Config - data, err := ioutil.ReadFile(path) + data, err := os.ReadFile(path) if err != nil { return nil, err } |