Skip to content

Commit f2eee1f

Browse files
authored
Merge pull request #39 from arduino/upgrade_test_libs
Remove outdated executils library and updated everything
2 parents 3c8cf52 + ad7969a commit f2eee1f

File tree

9 files changed

+30
-682
lines changed

9 files changed

+30
-682
lines changed

Diff for: .github/workflows/build-dummy-discovery.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install Go
2424
uses: actions/setup-go@v4
2525
with:
26-
go-version: "1.16"
26+
go-version: "1.21"
2727

2828
- name: Build
2929
run: task build-dummy-discovery

Diff for: .github/workflows/check-go-dependencies-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Go Dependencies
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.16"
6+
GO_VERSION: "1.21"
77

88
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
99
on:

Diff for: .github/workflows/check-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Go
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.16"
6+
GO_VERSION: "1.21"
77

88
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
99
on:

Diff for: .github/workflows/test-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Test Go
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.16"
6+
GO_VERSION: "1.21"
77

88
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
99
on:

Diff for: .licenses/pluggable-discovery-protocol-handler/go/github.com/arduino/go-paths-helper.dep.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: github.com/arduino/go-paths-helper
3-
version: v1.8.0
3+
version: v1.10.0
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/go-paths-helper
77
license: gpl-2.0-or-later
88
licenses:

Diff for: .licenses/pluggable-discovery-protocol-handler/go/github.com/arduino/go-properties-orderedmap.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/arduino/go-properties-orderedmap
3-
version: v1.7.1
3+
version: v1.8.0
44
type: go
55
summary: Package properties is a library for handling maps of hierarchical properties.
66
homepage: https://pkg.go.dev/github.com/arduino/go-properties-orderedmap

Diff for: discovery_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ package discovery
2020
import (
2121
"testing"
2222

23-
"github.com/arduino/arduino-cli/executils"
23+
"github.com/arduino/go-paths-helper"
2424
"github.com/stretchr/testify/require"
2525
)
2626

2727
func TestDisc(t *testing.T) {
28-
builder, err := executils.NewProcess(nil, "go", "build")
28+
builder, err := paths.NewProcess(nil, "go", "build")
2929
require.NoError(t, err)
3030
builder.SetDir("dummy-discovery")
3131
require.NoError(t, builder.Run())
3232

33-
discovery, err := executils.NewProcess(nil, "./dummy-discovery")
33+
discovery, err := paths.NewProcess(nil, "./dummy-discovery")
3434
require.NoError(t, err)
3535
discovery.SetDir("dummy-discovery")
3636

Diff for: go.mod

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
module github.com/arduino/pluggable-discovery-protocol-handler/v2
22

3-
go 1.16
3+
go 1.21
4+
5+
toolchain go1.21.1
6+
7+
require (
8+
github.com/arduino/go-paths-helper v1.10.0
9+
github.com/arduino/go-properties-orderedmap v1.8.0
10+
github.com/stretchr/testify v1.8.4
11+
)
412

513
require (
6-
github.com/arduino/arduino-cli v0.0.0-20230206132931-4c0aaa876d1b
7-
github.com/arduino/go-properties-orderedmap v1.7.1
8-
github.com/stretchr/testify v1.8.0
14+
github.com/davecgh/go-spew v1.1.1 // indirect
15+
github.com/pkg/errors v0.9.1 // indirect
16+
github.com/pmezard/go-difflib v1.0.0 // indirect
17+
gopkg.in/yaml.v3 v3.0.1 // indirect
918
)

Diff for: go.sum

+7-668
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)