Skip to content

Commit a18e84e

Browse files
committed
Remove outdated executils library and updated everything
1 parent 3c8cf52 commit a18e84e

7 files changed

+27
-679
lines changed

.github/workflows/build-dummy-discovery.yaml

Lines changed: 1 addition & 1 deletion
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

.github/workflows/check-go-dependencies-task.yml

Lines changed: 1 addition & 1 deletion
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:

.github/workflows/check-go-task.yml

Lines changed: 1 addition & 1 deletion
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:

.github/workflows/test-go-task.yml

Lines changed: 1 addition & 1 deletion
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:

discovery_test.go

Lines changed: 3 additions & 3 deletions
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

go.mod

Lines changed: 13 additions & 4 deletions
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.9.3-0.20231204161507-f628fa3d553c
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
)

go.sum

Lines changed: 7 additions & 668 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)