diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9b43014..15007e3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,17 +6,22 @@ "build": { "name": "Build", "runs-on": "ubuntu-latest", + "strategy": { + "matrix": { + "go": ["1.18.x","1.19.x","1.20.x","1.21.x","1.22.x"] + }, + }, "steps": [ { - "name": "Set up Go 1.18", - "uses": "actions/setup-go@v1", - "with": {"go-version": 1.18}, + "name": "Set up Go ${{ matrix.go }}", + "uses": "actions/setup-go@v5", + "with": {"go-version": "${{ matrix.go }}" }, "id": "go", }, - {"name": "Check out code into the Go module directory", "uses": "actions/checkout@v1"}, + {"name": "Check out code into the Go module directory", "uses": "actions/checkout@v4"}, {"name": "Lint", "run": "make lint"}, {"name": "Test", "run": "make test"}, ], }, }, -} +} \ No newline at end of file diff --git a/go.mod b/go.mod index 4a5ad47..92d240e 100644 --- a/go.mod +++ b/go.mod @@ -7,12 +7,13 @@ require ( github.com/go-toolsmith/pkgload v1.0.0 github.com/go-toolsmith/typep v1.0.0 github.com/kisielk/gotool v1.0.0 - golang.org/x/tools v0.11.0 + golang.org/x/tools v0.13.0 ) require ( golang.org/x/mod v0.12.0 // indirect - golang.org/x/sys v0.10.0 // indirect + golang.org/x/sync v0.7.0 // indirect + golang.org/x/sys v0.12.0 // indirect ) go 1.20 diff --git a/go.sum b/go.sum index 850701b..f559888 100644 --- a/go.sum +++ b/go.sum @@ -14,9 +14,10 @@ github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= -golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= -golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= +golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/tools v0.0.0-20190110163146-51295c7ec13a/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.11.0 h1:EMCa6U9S2LtZXLAMoWiR/R8dAQFRqbAitmbJ2UKhoi8= -golang.org/x/tools v0.11.0/go.mod h1:anzJrxPjNtfgiYQYirP2CPGzGLxrH2u2QBhn6Bf3qY8= +golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ= +golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=