Skip to content

Commit

Permalink
chore: build with Go 1.23
Browse files Browse the repository at this point in the history
Requires a pre-release version of avfs.
  • Loading branch information
nisimond committed Oct 8, 2024
1 parent c0162ee commit eca4c1c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
- name: Install Task
uses: arduino/setup-task@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions examples/go-client/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module example.com/client

go 1.22
go 1.23

toolchain go1.22.2
toolchain go1.23.2

replace github.com/retr0h/gilt/v2 => ../../../gilt/

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/retr0h/gilt/v2

go 1.22
go 1.23

require (
github.com/avfs/avfs v0.33.0
github.com/avfs/avfs v0.33.1-0.20240914121800-614029c843ff
github.com/caarlos0/go-version v0.1.1
github.com/danjacques/gofslock v0.0.0-20230728142113-ae8f59f9e88b
github.com/go-playground/validator/v10 v10.22.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/avfs/avfs v0.33.0 h1:5WQXbUbr6VS7aani39ZN2Vrd/s3wLnyih1Sc4ExWTxs=
github.com/avfs/avfs v0.33.0/go.mod h1:Q59flcFRYe9KYkNMfrLUJney3yeKGQpcWRyxsDBW7vI=
github.com/avfs/avfs v0.33.1-0.20240914121800-614029c843ff h1:kNLtLYnnDNVCJg9l41F5rSL29AdxHPRicqlVCjA+BUY=
github.com/avfs/avfs v0.33.1-0.20240914121800-614029c843ff/go.mod h1:LnzrUO5acMU5NCkohHcUN15YrnkxiJ/lRLQOZSp39ow=
github.com/caarlos0/go-version v0.1.1 h1:1bikKHkGGVIIxqCmufhSSs3hpBScgHGacrvsi8FuIfc=
github.com/caarlos0/go-version v0.1.1/go.mod h1:Ze5Qx4TsBBi5FyrSKVg1Ibc44KGV/llAaKGp86oTwZ0=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
Expand Down
5 changes: 0 additions & 5 deletions internal/mocks/vfs/failfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"time"

"github.com/avfs/avfs"
"github.com/avfs/avfs/idm/dummyidm"
)

type FailFS struct {
Expand Down Expand Up @@ -179,10 +178,6 @@ func (vfs *FailFS) Glob(pattern string) (matches []string, err error) {
return vfs.baseFS.Glob(pattern)
}

func (vfs *FailFS) Idm() avfs.IdentityMgr {
return dummyidm.NotImplementedIdm
}

func (vfs *FailFS) IsAbs(path string) bool {
return vfs.baseFS.IsAbs(path)
}
Expand Down

0 comments on commit eca4c1c

Please sign in to comment.